board: ti: am62x: evm: Update function calls for splash screen
authorNikhil M Jain <n-jain1@ti.com>
Tue, 18 Jul 2023 08:57:29 +0000 (14:27 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jul 2023 19:32:12 +0000 (15:32 -0400)
commit12fdacea5a6608a9b77a3437e692b9e2ff5c807c
tree2804a250c1e4a45b6205ca2648aea63396c0b641
parentdd5d1c5dcc4d1868e0b82f26db2ea53c63bd15de
board: ti: am62x: evm: Update function calls for splash screen

Use spl_dcache_enable, in place of setup_dram, arch_reserve_mmu to set
up pagetable, initialise DRAM and enable Dcache to avoid multiple
function calls.

Check for CONFIG_SPL_VIDEO in place of CONFIG_SPL_VIDEO_TIDSS to prevent
any build failure in case video config is not defined and video related
functions are called.

Check for CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_BMP before calling
splash_display to avoid compilation failure.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
arch/arm/mach-k3/am625_init.c
board/ti/am62x/evm.c