aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChintan Vankar <c-vankar@ti.com>2024-08-26 15:55:05 +0530
committerTom Rini <trini@konsulko.com>2024-08-30 13:57:39 -0600
commit62b096d907820b70f309e0d039a2ab402e784d6d (patch)
tree9ad2d08051ffd9ba87155d4259244324117146ec /common
parentbf85af66c0d326a018396b660e5c1b03c0257d3e (diff)
downloadu-boot-62b096d907820b70f309e0d039a2ab402e784d6d.tar.gz
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 <d-gole@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Chintan Vankar <c-vankar@ti.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 7c6e322ffd7..43a29db23bd 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)) {