[U-Boot] [PATCH] video: cfb_console: fix 32-bit display on 64-bit architectures
Anatolij Gustschin
agust at denx.de
Tue Mar 7 20:25:04 UTC 2017
On Mon, 6 Mar 2017 01:13:38 +0000
Andre Przywara andre.przywara at arm.com wrote:
> "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 at arm.com>
> ---
> drivers/video/cfb_console.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
applied to u-boot-video/master. Thanks!
--
Anatolij
More information about the U-Boot
mailing list