common: Enable splash functions at SPL
authorNikhil M Jain <n-jain1@ti.com>
Thu, 20 Apr 2023 12:11:09 +0000 (17:41 +0530)
committerAnatolij Gustschin <agust@denx.de>
Mon, 24 Apr 2023 19:37:45 +0000 (21:37 +0200)
commiteb9217dc036c9c481da7d89cd934cfc23b894a82
tree3bbedd483a9d14c77b4a07b4d32594220eea016f
parent86fbee6020f2b394b8570d34c5367570776a3000
common: Enable splash functions at SPL

To support splash screen at both u-boot proper and SPL use
CONFIG_IS_ENABLED and CONFIG_VAL to check for video related Kconfigs at
respective stages.

Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function
at u-boot proper and SPL.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/bmp.c
common/splash.c