[PATCH 3/9] cmd: Kconfig: Add necessary configs for splash screen at SPL

Nikhil M Jain n-jain1 at ti.com
Tue Mar 14 05:50:13 CET 2023


CONFIG_CMD_BMP and CONFIG_SPLASH_SCREEN enable's splash display at
only u-boot proper. To enable splash display at SPL stage add SPL
specific configs, which are SPL_CMD_BMP and SPL_SPLASH_SCREEN.

Signed-off-by: Nikhil M Jain <n-jain1 at ti.com>
---
 cmd/Kconfig | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2caa4af71c..2f7b820ab8 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1415,6 +1415,11 @@ config CMD_READ
 	help
 	  Provides low-level access to the data in a partition.
 
+config SPL_CMD_READ
+	bool "read - Read binary data from a partition"
+	help
+	  Provides low-level access to the data in a partition at SPL stage.
+
 config CMD_REMOTEPROC
 	bool "remoteproc"
 	depends on REMOTEPROC
@@ -1931,6 +1936,18 @@ config CMD_BMP
 	  the image into RAM, then using this command to look at it or display
 	  it.
 
+config SPL_CMD_BMP
+	bool "Enable 'bmp' command"
+	depends on SPL_VIDEO
+	help
+	  This provides a way to obtain information about a BMP-format image
+	  and to display it in spl stage.BMP (which presumably stands for BitMaP) is a
+	  file format defined by Microsoft which supports images of various
+	  depths, formats and compression methods. Headers on the file
+	  determine the formats used. This command can be used by first loading
+	  the image into RAM, then using this command to look at it or display
+	  it.
+
 config CMD_BOOTCOUNT
 	bool "bootcount"
 	depends on BOOTCOUNT_LIMIT
-- 
2.34.1



More information about the U-Boot mailing list