commit | c4b7d654353c10eba6cc7a4014d258e23596f26c | [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 | d0c536581fa00105ae6f74a205fc2e5cf5d454ac [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>