diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-01-22 11:24:13 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-02-03 15:36:14 +0900 |
commit | dca2a1c18576116b33c31ea4d1cd7a3812e3bf95 (patch) | |
tree | f51aa3295f2246e03ed99cb54a26a4e0dc7fbf8a /include/configs/NSCU.h | |
parent | 679549d1802f0ee8e66576ecfc766d30b4040983 (diff) | |
download | talos-obmc-uboot-dca2a1c18576116b33c31ea4d1cd7a3812e3bf95.tar.gz talos-obmc-uboot-dca2a1c18576116b33c31ea4d1cd7a3812e3bf95.zip |
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>
Diffstat (limited to 'include/configs/NSCU.h')
0 files changed, 0 insertions, 0 deletions