
Hi Nikhil,
On Tue, 14 Mar 2023 at 17:51, Nikhil M Jain n-jain1@ti.com wrote:
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 n-jain1@ti.com
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
The required code should move to common/ so it can be called from the command and from SPL. Commands are not enabled in SPL.
Regards, Simon