]> git.dujemihanovic.xyz Git - u-boot.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)
commitd6213e206c441a3b2b83c0588954c851c3610d97
treefb8c183b6d178e87ed76a74d5a590a1c53e6cc61
parentbd0df8236987df03e6131f923e31c3d9f943d086
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