Re: [U-Boot] [PATCH] video: cfb_console: fix 32-bit display on 64-bit architectures

2017-03-07 Thread Anatolij Gustschin
On Mon, 6 Mar 2017 01:13:38 + Andre Przywara andre.przyw...@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

[U-Boot] [PATCH] video: cfb_console: fix 32-bit display on 64-bit architectures

2017-03-05 Thread Andre Przywara
"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