diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-06-13 17:13:11 -0600 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2013-11-22 17:26:52 +0800 |
commit | 703ae9a9b9e0886d7f5c5505473dd14c2f9cf8a3 (patch) | |
tree | 288cec77d069524b102df6f479385e04722a4949 /common/kallsyms.c | |
parent | 72f14b7ec90db1521b5534993c1cf7c2987f0adb (diff) | |
download | u-boot-imx-703ae9a9b9e0886d7f5c5505473dd14c2f9cf8a3.zip u-boot-imx-703ae9a9b9e0886d7f5c5505473dd14c2f9cf8a3.tar.gz u-boot-imx-703ae9a9b9e0886d7f5c5505473dd14c2f9cf8a3.tar.bz2 |
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>
(cherry picked from commit 5af7d0f090b9fe2464d7980841b940846a547716)
Signed-off-by: Jason Liu <r64343@freescale.com>
(cherry picked from commit 9589ff33327fc038be7c302e71377582738d8fde)
Diffstat (limited to 'common/kallsyms.c')
0 files changed, 0 insertions, 0 deletions