[PATCH v3 1/2] board: sifive: Rename spl_soc_init() to spl_dram_init()

Leo Liang ycliang at andestech.com
Fri Apr 26 09:51:49 CEST 2024


On Wed, Apr 24, 2024 at 09:43:38AM +0200, lukas.funke-oss at weidmueller.com wrote:
> From: Lukas Funke <lukas.funke at weidmueller.com>
> 
> 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 at weidmueller.com>
> ---
> 
> (no changes since v1)
> 
>  arch/riscv/cpu/fu540/spl.c              | 2 +-
>  arch/riscv/cpu/fu740/spl.c              | 2 +-
>  arch/riscv/include/asm/arch-fu540/spl.h | 2 +-
>  arch/riscv/include/asm/arch-fu740/spl.h | 2 +-
>  board/sifive/unleashed/spl.c            | 4 ++--
>  board/sifive/unmatched/spl.c            | 4 ++--
>  6 files changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list