From: Chintan Vankar Date: Mon, 26 Aug 2024 10:25:05 +0000 (+0530) Subject: common: spl: spl: Init DRAM size in R5/A53 SPL X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=62b096d907820b70f309e0d039a2ab402e784d6d;p=u-boot.git common: spl: spl: Init DRAM size in R5/A53 SPL Initialize DRAM size in SPL stage since networking requires DDR to be initialized. Reviewed-by: Dhruva Gole Reviewed-by: Tom Rini Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Chintan Vankar --- diff --git a/common/spl/spl.c b/common/spl/spl.c index 7c6e322ffd..43a29db23b 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -718,7 +718,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) initr_watchdog(); if (IS_ENABLED(CONFIG_SPL_OS_BOOT) || CONFIG_IS_ENABLED(HANDOFF) || - IS_ENABLED(CONFIG_SPL_ATF)) + IS_ENABLED(CONFIG_SPL_ATF) || IS_ENABLED(CONFIG_SPL_NET)) dram_init_banksize(); if (CONFIG_IS_ENABLED(PCI) && !(gd->flags & GD_FLG_DM_DEAD)) {