summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevarsh Thakkar <devarsht@ti.com>2023-12-05 21:25:18 +0530
committerTom Rini <trini@konsulko.com>2024-01-29 14:49:17 -0500
commit945053fd64ca1022f006ccd7f1518e52e34e30d8 (patch)
treeaab70a6326700e5b1415575f6c9f135456f13fdf
parentba20b2443c298a19ff70d66f71630c6d16c39c97 (diff)
downloadu-boot-945053fd64ca1022f006ccd7f1518e52e34e30d8.tar.gz
u-boot-945053fd64ca1022f006ccd7f1518e52e34e30d8.tar.bz2
u-boot-945053fd64ca1022f006ccd7f1518e52e34e30d8.zip
board: ti: am62x: evm: Remove video_setup from spl_board_init
Remove video_setup from evm_init sequence since video memory is getting called at an earlier place to make sure video memory is reserved at the end of RAM. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Devarsh Thakkar <devarsht@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--board/ti/am62x/evm.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c
index ad93908840..88e02155ee 100644
--- a/board/ti/am62x/evm.c
+++ b/board/ti/am62x/evm.c
@@ -60,27 +60,9 @@ int dram_init_banksize(void)
}
#if defined(CONFIG_SPL_BUILD)
-static int video_setup(void)
-{
- if (CONFIG_IS_ENABLED(VIDEO)) {
- ulong addr;
- int ret;
-
- addr = gd->relocaddr;
- ret = video_reserve(&addr);
- if (ret)
- return ret;
- debug("Reserving %luk for video at: %08lx\n",
- ((unsigned long)gd->relocaddr - addr) >> 10, addr);
- gd->relocaddr = addr;
- }
-
- return 0;
-}
void spl_board_init(void)
{
- video_setup();
enable_caches();
if (IS_ENABLED(CONFIG_SPL_SPLASH_SCREEN) && IS_ENABLED(CONFIG_SPL_BMP))
splash_display();