aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorLukas Funke2024-04-24 09:43:39 +0200
committerLeo Yu-Chi Liang2024-05-02 00:01:18 +0800
commit19b762cf83f68b9d9a1f14e75d75781cedf4049f (patch)
treee2b9a3931e8b9e555a29e65e34955278a345563b /board
parentd6c81b87e6c15d23815ffc37241795de4bdb71be (diff)
board: starfive: Rename spl_soc_init() to spl_dram_init()
Rename spl_soc_init() to spl_dram_init() because the generic function name does not reflect what the function actually does. Also spl_dram_init() is commonly used for dram initialization and should be called from board_init_f(). Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'board')
-rw-r--r--board/starfive/visionfive2/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c
index 45848db6d8b..ca61b5be227 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;
}