]> git.baikalelectronics.ru Git - uboot.git/commit
Nokia RX-51: Convert to CONFIG_DM_VIDEO
authorPali Rohár <pali@kernel.org>
Wed, 9 Mar 2022 19:46:01 +0000 (20:46 +0100)
committerAnatolij Gustschin <agust@denx.de>
Wed, 9 Mar 2022 20:28:53 +0000 (21:28 +0100)
commit929a0c14ebdc29793ca5525a96e6c34a6a80b1b5
treefb8c183b6d178e87ed76a74d5a590a1c53e6cc61
parent080904b336c78978c2d7d913bfd6da441b0b84b6
Nokia RX-51: Convert to CONFIG_DM_VIDEO

Mechanically convert video_hw_init() function to UCLASS_VIDEO probe
callback and replace CONFIG_CFB_CONSOLE by CONFIG_DM_VIDEO.

As framebuffer base address is setup by the bootloader which loads U-Boot,
set plat->base to that fixed framebuffer address.

This change was tested in qemu n900 machine and is working fine.

What does not work is CONFIG_VIDEO_LOGO, seems to be buggy.

Signed-off-by: Pali Rohár <pali@kernel.org>
board/nokia/rx51/rx51.c
configs/nokia_rx51_defconfig
include/configs/nokia_rx51.h