common: spl: spl: Remove video driver

Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before
jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to
remove video if required.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
This commit is contained in:
Nikhil M Jain 2023-06-09 14:52:37 +05:30 committed by Udit Kumar
parent 50e7d137e1
commit 60ba1ccd88
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
debug("Failed to stash bootstage: err=%d\n", ret);
#endif
#if defined(CONFIG_SPL_VIDEO)
#if defined(CONFIG_SPL_VIDEO_REMOVE)
struct udevice *dev;
int rc;