[PATCH v4 01/10] common: spl: spl: Init DRAM size in R5/A53 SPL

Chintan Vankar c-vankar at ti.com
Mon Aug 12 13:46:53 CEST 2024


Initialize DRAM size in SPL stage since networking requires DDR
to be initialized.

Reviewed-by: Dhruva Gole <d-gole at ti.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
Signed-off-by: Kishon Vijay Abraham I <kishon at ti.com>
Signed-off-by: Chintan Vankar <c-vankar at ti.com>
---

Link to v3:
https://lore.kernel.org/r/20240705045030.1141934-2-c-vankar@ti.com/

Changes from v3 to v4:
- No changes.

 common/spl/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/spl/spl.c b/common/spl/spl.c
index d6a364de6e..c9e86297c5 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -720,7 +720,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)) {
-- 
2.34.1



More information about the U-Boot mailing list