]> git.baikalelectronics.ru Git - uboot.git/commit
rpi: set the correct parameter for simple framebuffer node
authorMeng Li <Meng.Li@windriver.com>
Wed, 26 Jul 2023 02:42:35 +0000 (10:42 +0800)
committerAnatolij Gustschin <agust@denx.de>
Sun, 13 Aug 2023 21:57:46 +0000 (23:57 +0200)
commitc6899ec4faa35ec990c3d13265f7df814f3b4fdb
tree21ba558146bbe58c06c96aee747d96f35cc9e987
parent6520c0a8f7bcd46fab2db580e7eae9eba88594e3
rpi: set the correct parameter for simple framebuffer node

When raspberrpi-4b platform  boots up, there are 2 sets of same bootup
log displayed on HDMI monitor screen, it looks like the screen is split
into 2 parts. The root cause is that video format of u-boot is different
from kernel. The fixing "a8r8g8b8" video format is used in u-boot, but
"r5g6b5" video format from framebuffer node is used in kernel image. In
order to avoid weird display status on screen, it needs to set the correct
parameter for simple framebuffer node even if it has existed.

Signed-off-by: Meng Li <Meng.Li@windriver.com>
board/raspberrypi/rpi/rpi.c