diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-06-13 17:13:11 -0600 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-07-01 20:11:33 +0200 |
commit | 5af7d0f090b9fe2464d7980841b940846a547716 (patch) | |
tree | 48086351669807c5f8427677c621a7eebb7b88a0 /post | |
parent | b1d8654b41e8cbc4a9c12356ecabad30386a3a7e (diff) | |
download | u-boot-imx-5af7d0f090b9fe2464d7980841b940846a547716.zip u-boot-imx-5af7d0f090b9fe2464d7980841b940846a547716.tar.gz u-boot-imx-5af7d0f090b9fe2464d7980841b940846a547716.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>
Diffstat (limited to 'post')
0 files changed, 0 insertions, 0 deletions