commit | 5af7d0f090b9fe2464d7980841b940846a547716 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Thu Jun 13 17:13:11 2013 -0600 |
committer | Anatolij Gustschin <agust@denx.de> | Mon Jul 01 20:11:33 2013 +0200 |
tree | 48086351669807c5f8427677c621a7eebb7b88a0 | |
parent | b1d8654b41e8cbc4a9c12356ecabad30386a3a7e [diff] |
lcd: remove unaligned access in lcd_dt_simplefb_configure_node() 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 <swarren@nvidia.com>