From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 13 Jun 2012 05:23:18 -0700 Subject: [U-Boot] [PATCH 11/17] lcd: Add CONFIG_ALIGN_LCD_TO_SECTION to align lcd for MMU In-Reply-To: <201201142038.50671.vapier@gentoo.org> References: <1326588449-1794-1-git-send-email-sjg@chromium.org> <1326588449-1794-12-git-send-email-sjg@chromium.org> <201201142038.50671.vapier@gentoo.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Mike, On Sat, Jan 14, 2012 at 5:38 PM, Mike Frysinger wrote: > On Saturday 14 January 2012 19:47:23 Simon Glass wrote: > > We want to make the display section-aligned on ARM so that we can easily > > turn off data caching for this. > > > > Is this useful for other architectures? We could perhaps generalise it by > > adding the ability to specify the alignment size, but at least for ARM > > it is easier to have it be an architecture feature set by the MMU's > > system.h header. > > seems like a generally useful thing, but the exact alignment is a bit > hackish. > so perhaps the CONFIG knob should instead be the size you want to align > things > to ? > OK I will do that. > -mike > Regards, Simon