From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Mon, 1 Jul 2013 20:13:46 +0200 Subject: [U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node() In-Reply-To: <1371165191-11174-1-git-send-email-swarren@wwwdotorg.org> References: <1371165191-11174-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20130701201346.5a292e50@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 13 Jun 2013 17:13:11 -0600 Stephen Warren wrote: > From: Stephen Warren > > Some ARM compilers may emit code that makes unaligned accesses when > faced with constructs such as: > > const char format[] = "r5g6b5"; > > Make this data static since it doesn't chagne; the compiler will simply > place it into the .rodata section directly, and avoid any unaligned run- > time initialization. > > Signed-off-by: Stephen Warren > --- > common/lcd.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to u-boot-video/master. Thanks! Anatolij