
24 May
2013
24 May
'13
8:41 p.m.
Hello Piotr,
On 05/24/2013 09:46 AM, Piotr Wilczek wrote:
This patch replace 'le32_to_cpu' function with 'get_unaligend_le32' to avoid unaligned access exception on some ARM platforms (ex Trats2).
Signed-off-by: Piotr Wilczek p.wilczek@samsung.com Signed-off-by: Kyungmin Park kyungmin.park@samsung.com CC: Minkyu Kang mk7.kang@samsung.com CC: Anatolij Gustschin agust@denx.de
common/lcd.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
ntf("Error: only support 16 bpix");
If you use an aligned address + 2 as the BMP location, the aligned accesses should work. If you have user input (which I doubt) you can set CONFIG_SPLASHIMAGE_GUARD (see README).
The cm_t35 LCD thread has more info if you are interested.
Regards, Jeroen