commit | dca2a1c18576116b33c31ea4d1cd7a3812e3bf95 | [log] [tgz] |
---|---|---|
author | Przemyslaw Marczak <p.marczak@samsung.com> | Wed Jan 22 11:24:13 2014 +0100 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Mon Feb 03 15:36:14 2014 +0900 |
tree | f51aa3295f2246e03ed99cb54a26a4e0dc7fbf8a | |
parent | 679549d1802f0ee8e66576ecfc766d30b4040983 [diff] |
common: lcd.c: fix data abort exception when try to access bmp header Changes: - le16_to_cpu() to get_unaligned_le16() - le32_to_cpu() to get_unaligned_le32() when access fields in struct bmp header. This changes avoids data abort exception caused by unaligned data access. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>