summaryrefslogtreecommitdiff
path: root/common/stdio.c
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-01-22 11:24:13 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2014-02-03 15:36:14 +0900
commitdca2a1c18576116b33c31ea4d1cd7a3812e3bf95 (patch)
treef51aa3295f2246e03ed99cb54a26a4e0dc7fbf8a /common/stdio.c
parent679549d1802f0ee8e66576ecfc766d30b4040983 (diff)
downloadu-boot-imx-dca2a1c18576116b33c31ea4d1cd7a3812e3bf95.zip
u-boot-imx-dca2a1c18576116b33c31ea4d1cd7a3812e3bf95.tar.gz
u-boot-imx-dca2a1c18576116b33c31ea4d1cd7a3812e3bf95.tar.bz2
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 'common/stdio.c')
0 files changed, 0 insertions, 0 deletions