Add VIDEO_REMOVE configs to allow user to control removing of video
driver, in between stages.

Signed-off-by: Nikhil M Jain <n-ja...@ti.com>
---
V3 (patch introduced):
- Add config to remove video.

 drivers/video/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 05eaaa767a..eeb10ebd10 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -809,6 +809,12 @@ config IHS_VIDEO_OUT
          out On-screen Display (OSD) used on gdsys FPGAs to control dynamic
          textual overlays of the display outputs.
 
+config VIDEO_REMOVE
+       bool "Remove video driver"
+       help
+               Use this option to specify if you want to remove video driver 
before
+               loading OS.
+
 config SPLASH_SCREEN
        bool "Show a splash-screen image"
        help
@@ -1032,6 +1038,12 @@ config SPL_SYS_WHITE_ON_BLACK
         This can be better in low-light situations or to reduce eye strain in
         some cases.
 
+config SPL_VIDEO_REMOVE
+       bool "Remove video driver after SPL stage"
+       help
+        if this  option is enabled video driver will be removed at the end of
+        SPL stage, beforeloading the next stage.
+
 if SPL_SPLASH_SCREEN
 
 config SPL_SPLASH_SCREEN_ALIGN
-- 
2.34.1

Reply via email to