diff mbox series

[V5,07/13] common: Kconfig: Add BMP configs

Message ID 20230403081443.77933-8-n-jain1@ti.com
State Superseded
Delegated to: Anatolij Gustschin
Headers show
Series Add splash screen support at u-boot SPL | expand

Commit Message

Nikhil Jain April 3, 2023, 8:14 a.m. UTC
Add CONFIG_BMP and CONFIG_SPL_BMP which enable displaying bmp images at
u-boot proper and SPL.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
V5:
- Added Reviewed-by tag.

V4:
- No change.

V3 (patch introduced):
- Add CONFIG BMP and SPL_BMP.

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

Comments

Devarsh Thakkar April 3, 2023, 11 a.m. UTC | #1
Hi Nikhil,

On 03/04/23 13:44, Nikhil M Jain wrote:
> Add CONFIG_BMP and CONFIG_SPL_BMP which enable displaying bmp images at
> u-boot proper and SPL.
> 
> Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Devarsh Thakkar <devarsht@ti.com>

Regards
Devarsh
> ---
> V5:
> - Added Reviewed-by tag.
> 
> V4:
> - No change.
> 
> V3 (patch introduced):
> - Add CONFIG BMP and SPL_BMP.
> 
>  common/Kconfig | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/common/Kconfig b/common/Kconfig
> index 7ff62552cb..7329dc8253 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -1154,3 +1154,15 @@ config FDT_SIMPLEFB
>  
>  config IO_TRACE
>  	bool
> +
> +config BMP
> +	bool "Enable bmp image display"
> +	default y if CMD_BMP
> +	help
> +	  Enable bmp functions to display bmp image and get bmp info.
> +
> +config SPL_BMP
> +	bool "Enable bmp image display at  SPL"
> +	depends on SPL_VIDEO
> +	help
> +	  Enable bmp functions to display bmp image and get bmp info at SPL.
diff mbox series

Patch

diff --git a/common/Kconfig b/common/Kconfig
index 7ff62552cb..7329dc8253 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1154,3 +1154,15 @@  config FDT_SIMPLEFB
 
 config IO_TRACE
 	bool
+
+config BMP
+	bool "Enable bmp image display"
+	default y if CMD_BMP
+	help
+	  Enable bmp functions to display bmp image and get bmp info.
+
+config SPL_BMP
+	bool "Enable bmp image display at  SPL"
+	depends on SPL_VIDEO
+	help
+	  Enable bmp functions to display bmp image and get bmp info at SPL.