[PATCH v1 3/3] board: starfive: Call spl_dram_init() for DRAM initialization

lukas.funke-oss at weidmueller.com lukas.funke-oss at weidmueller.com
Mon Apr 22 15:16:13 CEST 2024


From: Lukas Funke <lukas.funke at weidmueller.com>

Call spl_dram_init() since this is commonly used for dram initialization
in u-boot.

Signed-off-by: Lukas Funke <lukas.funke at weidmueller.com>
---

 board/starfive/visionfive2/spl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c
index 45848db6d8..d1db7ee87b 100644
--- a/board/starfive/visionfive2/spl.c
+++ b/board/starfive/visionfive2/spl.c
@@ -285,9 +285,9 @@ int spl_board_init_f(void)
 
 	jh7110_jtag_init();
 
-	ret = spl_soc_init();
+	ret = spl_dram_init();
 	if (ret) {
-		debug("JH7110 SPL init failed: %d\n", ret);
+		debug("JH7110 dram init failed: %d\n", ret);
 		return ret;
 	}
 
-- 
2.30.2



More information about the U-Boot mailing list