On Thu, 13 Jun 2013 17:13:11 -0600
Stephen Warren <swar...@wwwdotorg.org> wrote:

> From: Stephen Warren <swar...@nvidia.com>
> 
> 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 <swar...@nvidia.com>
> ---
>  common/lcd.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-video/master. Thanks!

Anatolij

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to