[U-Boot] [PATCH] lcd: remove unaligned access in lcd_dt_simplefb_configure_node()

Tom Rini trini at ti.com
Mon Jul 1 18:35:46 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/01/2013 12:30 PM, Stephen Warren wrote:
> On 06/13/2013 05:13 PM, Stephen Warren wrote:
>> From: Stephen Warren <swarren at 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.
> 
> I don't think this has been applied yet. Will it be applied for
> this release? Should I resend the patch?

It's a bug fix and as such I want it.  Anatolij, there's a few "video"
patches out there, are you going to grab things / has this spurred you
to grab things or should I take a look around and pull up a patch set?
 Thanks!

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJR0a/hAAoJENk4IS6UOR1WiV4P/RtMBhLZRq8fW9NNCaVupJC9
Y2F7kOnDOGR9jdvyWbTXA5Xvw8hMa+zx0ue3tGPf2y2rl4/EL2IPLS/PudwqTMHt
n5PnTAdadOUC09OZiRz8GBENis6RBFp6xHVKDxkvdTlVx5/wItOKKfLDW60n7hM+
4++VALba8/Ii6mWBRFdTyUEPcPCeVQxsKkfzeYrXwtBuKeEZ8f9upohfc19gscBU
pGm0wsb48mJGwk8Kq0JtDmVzak4paTptJAnlA6wcqOd2MRTw7crRuVhvyLymCNki
VcFtgwLI6sK7y0ohi1y3vJepL0soXGxswSRFYg2xyr8a+80uC3ZGUfkObddo+074
gGMDK7B58KVD/ZBlhsj+qpzAHUDsjRVBV01wvuTZ0FHE5DBJMISX1sYJihhLrxjc
DNX+a62guUW3Zc0xJIoHckwTh7FbXgiGK+0VtJHC3ueIw0ABRs3Q2PGDa3Ud3FvA
Y392ht9ftakbfIDQa/QTcw3h7VXIKfKWON621if/prsPg3GBbFV/P6AVar1NqzPR
imZQdyPJimkVZs/bFjFKqH/SvYIwFuoA8jwca84XZ2kbN8aZdcgXq+GKUq83Wkyn
rTr6K6c9lTixSpcpqOZMnkmT0hqglpnlVLzwZ6ONYUwtlbWK3zc6ZafxbQ2rWSLq
nuQ/vigESYDEfCYIWOuQ
=EA3R
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list