diff options
author | Lukas Funke <lukas.funke@weidmueller.com> | 2024-04-24 09:43:39 +0200 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2024-05-02 00:01:18 +0800 |
commit | 19b762cf83f68b9d9a1f14e75d75781cedf4049f (patch) | |
tree | e2b9a3931e8b9e555a29e65e34955278a345563b /arch | |
parent | d6c81b87e6c15d23815ffc37241795de4bdb71be (diff) | |
download | u-boot-19b762cf83f68b9d9a1f14e75d75781cedf4049f.zip u-boot-19b762cf83f68b9d9a1f14e75d75781cedf4049f.tar.gz u-boot-19b762cf83f68b9d9a1f14e75d75781cedf4049f.tar.bz2 |
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 'arch')
-rw-r--r-- | arch/riscv/cpu/jh7110/spl.c | 2 | ||||
-rw-r--r-- | arch/riscv/include/asm/arch-jh7110/spl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/cpu/jh7110/spl.c b/arch/riscv/cpu/jh7110/spl.c index 6bdf8b9..87aaf86 100644 --- a/arch/riscv/cpu/jh7110/spl.c +++ b/arch/riscv/cpu/jh7110/spl.c @@ -28,7 +28,7 @@ static bool check_ddr_size(phys_size_t size) } } -int spl_soc_init(void) +int spl_dram_init(void) { int ret; struct udevice *dev; diff --git a/arch/riscv/include/asm/arch-jh7110/spl.h b/arch/riscv/include/asm/arch-jh7110/spl.h index 23ce887..d73355b 100644 --- a/arch/riscv/include/asm/arch-jh7110/spl.h +++ b/arch/riscv/include/asm/arch-jh7110/spl.h @@ -7,6 +7,6 @@ #ifndef _SPL_STARFIVE_H #define _SPL_STARFIVE_H -int spl_soc_init(void); +int spl_dram_init(void); #endif /* _SPL_STARFIVE_H */ |