diff mbox series

[v4,07/15] common: Kconfig: Add BMP config

Message ID 20230329120119.72886-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 March 29, 2023, 12:01 p.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>
---
V4:
- No change

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

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

Comments

Simon Glass March 30, 2023, 8:14 p.m. UTC | #1
On Thu, 30 Mar 2023 at 01:02, Nikhil M Jain <n-jain1@ti.com> 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>
> ---
> V4:
> - No change
>
> V3 (patch introduced):
> - Add CONFIG BMP and SPL_BMP
>
>  common/Kconfig | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/common/Kconfig b/common/Kconfig
index 0afc01b759..3fa7ba86cd 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1106,3 +1106,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.