commit | 1d4ed26fafb4250a1a9f9aba55de05062330ea5b | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Mon Mar 06 01:13:38 2017 +0000 |
committer | Anatolij Gustschin <agust@denx.de> | Tue Mar 07 21:18:23 2017 +0100 |
tree | 9b6a2e2c41744d19a5e36ea8b4b6a06e5a7f783e | |
parent | 3fd2b3aa19b9479b5e785087e4951d3a7bbb87be [diff] |
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>