Splash support requires functions which are in bmp.c and read.c to
enable display of bmp image and reading image from boot media. Enable
their compilation at SPL stage, using Kconfigs SPL_CMD_BMP,
SPL_CMD_READ.

Signed-off-by: Nikhil M Jain <[email protected]>
---
 cmd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmd/Makefile b/cmd/Makefile
index 36d2daf22a..e2ed35559c 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -232,6 +232,8 @@ obj-$(CONFIG_ARCH_MVEBU) += mvebu/
 endif # !CONFIG_SPL_BUILD
 
 obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o
+obj-$(CONFIG_$(SPL_)CMD_BMP) += bmp.o
+obj-$(CONFIG_$(SPL_)CMD_READ) += read.o
 
 # core command
 obj-y += nvedit.o
-- 
2.34.1

Reply via email to