Searched hist:"1 d4ed26fafb4250a1a9f9aba55de05062330ea5b" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | cfb_console.c | 1d4ed26fafb4250a1a9f9aba55de05062330ea5b Mon Mar 06 01:13:38 UTC 2017 Andre Przywara <andre.przywara@arm.com> 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>
|