summaryrefslogtreecommitdiffstats
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2017-10-26 11:14:46 +0800
committerAnatolij Gustschin <agust@denx.de>2017-10-26 11:53:39 +0200
commitf6bdddc92bbbd555868067cc529275327d1ba0fa (patch)
treeef940250d47dfc0b2d8cd3fda27e6093afe7bfc5 /drivers/video/Kconfig
parente5f92467d77db8c00b389d2723242f6972e74d37 (diff)
downloadu-boot-f6bdddc92bbbd555868067cc529275327d1ba0fa.tar.gz
u-boot-f6bdddc92bbbd555868067cc529275327d1ba0fa.tar.xz
u-boot-f6bdddc92bbbd555868067cc529275327d1ba0fa.zip
video: add an option for video simplefb via DT
Add an option to indicate that the video driver should setup a SimpleFB node that passes the video framebuffer initialized by U-Boot to the operating system kernel. Currently only the Allwinner DE driver uses this option, and the definition of this option in the sunxi-common.h config header is converted to an imply of this option from CONFIG_VIDEO_SUNXI. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r--drivers/video/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index e6b7f11dc9..45a105db06 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -650,4 +650,12 @@ config VIDEO_SIMPLE
before u-boot starts, and u-boot will simply render to the pre-
allocated frame buffer surface.
+config VIDEO_DT_SIMPLEFB
+ bool "Enable SimpleFB support for passing framebuffer to OS"
+ help
+ Enables the code to pass the framebuffer to the kernel as a
+ simple framebuffer in the device tree.
+ The video output is initialized by U-Boot, and kept by the
+ kernel.
+
endmenu