
1 Jul
2013
1 Jul
'13
8:13 p.m.
On Thu, 13 Jun 2013 17:13:11 -0600 Stephen Warren swarren@wwwdotorg.org wrote:
From: Stephen Warren swarren@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 swarren@nvidia.com
common/lcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to u-boot-video/master. Thanks!
Anatolij