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-ja...@ti.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Devarsh Thakkar <devar...@ti.com>
---
V8:
- No change.

V7:
- No change.

V6:
- Added Reviewed-by tag.

V5:
- Added Reviewed-by tag.

V4:
- No change.

 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.
-- 
2.34.1

Reply via email to