From 8ef05352508f99b9e69feeca17a49671cc3d0ccf Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 3 Aug 2017 12:47:01 -0400 Subject: video: add config option to skip framebuffer clear The use-case is that the thing that loaded u-boot already put a splash image on screen. And we want to preserve that until grub boot menu takes over. Signed-off-by: Rob Clark --- drivers/video/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'drivers/video/Kconfig') diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 5505ee6f57d..7ba7b580db1 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -119,6 +119,14 @@ config SYS_WHITE_ON_BLACK better in low-light situations or to reduce eye strain in some cases. +config NO_FB_CLEAR + bool "Skip framebuffer clear" + help + If firmware (whatever loads u-boot) has already put a splash image + on screen, you might want to preserve it until whatever u-boot + loads takes over the screen. This, for example, can be used to + keep splash image on screen until grub graphical boot menu starts. + source "drivers/video/fonts/Kconfig" config VIDCONSOLE_AS_LCD -- cgit v1.2.3