diff options
author | Andre Przywara <andre.przywara@arm.com> | 2017-03-06 01:13:38 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2017-03-07 21:18:23 +0100 |
commit | 1d4ed26fafb4250a1a9f9aba55de05062330ea5b (patch) | |
tree | 9b6a2e2c41744d19a5e36ea8b4b6a06e5a7f783e /Licenses/gpl-2.0.txt | |
parent | 3fd2b3aa19b9479b5e785087e4951d3a7bbb87be (diff) | |
download | u-boot-imx-1d4ed26fafb4250a1a9f9aba55de05062330ea5b.zip u-boot-imx-1d4ed26fafb4250a1a9f9aba55de05062330ea5b.tar.gz u-boot-imx-1d4ed26fafb4250a1a9f9aba55de05062330ea5b.tar.bz2 |
video: cfb_console: fix 32-bit display on 64-bit architectures
"unsigned long" is a lousy data type when it comes to match peripheral
hardware registers with a fixed size.
Just do the obvious and match a 32-bit display format with an "u32"
data type for casting.
This fixes the logo display on 64-bit architectures, which produced
a black line on the right side of the logo with non-black backgrounds.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'Licenses/gpl-2.0.txt')
0 files changed, 0 insertions, 0 deletions