Re: [PATCH V2 6/8] drivers: video: Kconfig: Add config remove video

2023-06-09 Thread Tom Rini
On Fri, Jun 09, 2023 at 05:21:20PM +0530, Nikhil M Jain wrote:
> This is required since user may want to either call the remove method
> of video driver and reset the display or not call the remove method
> to continue displaying until next stage.
> 
> Signed-off-by: Nikhil M Jain 
> Reviewed-by: Devarsh Thakkar 
> ---
> V2:
> - Add Reviewed-by tag.
> 
>  drivers/video/Kconfig | 13 +
>  1 file changed, 13 insertions(+)
> 
> diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> index fcc0e85d2e..eca95dd28e 100644
> --- a/drivers/video/Kconfig
> +++ b/drivers/video/Kconfig
> @@ -840,6 +840,13 @@ 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 user wants to call remove method 
> of
> + video driver in u-boot proper stage.

Please fix this spacing.

-- 
Tom


signature.asc
Description: PGP signature


[PATCH V2 6/8] drivers: video: Kconfig: Add config remove video

2023-06-09 Thread Nikhil M Jain
This is required since user may want to either call the remove method
of video driver and reset the display or not call the remove method
to continue displaying until next stage.

Signed-off-by: Nikhil M Jain 
Reviewed-by: Devarsh Thakkar 
---
V2:
- Add Reviewed-by tag.

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

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index fcc0e85d2e..eca95dd28e 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -840,6 +840,13 @@ 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 user wants to call remove method 
of
+   video driver in u-boot proper stage.
+
+
 config SPLASH_SCREEN
bool "Show a splash-screen image"
help
@@ -1063,6 +1070,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