]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: sifive/fu540: spl: Rename soc_spl_init()
authorBin Meng <bin.meng@windriver.com>
Mon, 3 Aug 2020 06:09:03 +0000 (23:09 -0700)
committerAndes <uboot@andestech.com>
Fri, 14 Aug 2020 06:38:53 +0000 (14:38 +0800)
spl_soc_init() seems to be a better name, as all SPL functions
names start from the spl_ prefix.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Tested-by: Pragnesh Patel <pragnesh.patel@sifive.com>
arch/riscv/cpu/fu540/spl.c
arch/riscv/include/asm/arch-fu540/spl.h
board/sifive/fu540/spl.c

index a2034e933fde5331955863afce617f26cf801d25..45657b790965e21e486878f5c718dacbf748ec52 100644 (file)
@@ -7,7 +7,7 @@
 #include <dm.h>
 #include <log.h>
 
-int soc_spl_init(void)
+int spl_soc_init(void)
 {
        int ret;
        struct udevice *dev;
index 0c188be7471ca1fd499df6220d4308016a5ab9dd..4697279f438ba68ef760f55cff1d560a0b03122e 100644 (file)
@@ -9,6 +9,6 @@
 #ifndef _SPL_SIFIVE_H
 #define _SPL_SIFIVE_H
 
-int soc_spl_init(void);
+int spl_soc_init(void);
 
 #endif /* _SPL_SIFIVE_H */
index 31d315d5fdd247b3e09f3185c0af1326a12a9712..135e118617c9945f9f12787a157c114edb8e3d6e 100644 (file)
@@ -21,7 +21,7 @@ int spl_board_init_f(void)
 {
        int ret;
 
-       ret = soc_spl_init();
+       ret = spl_soc_init();
        if (ret) {
                debug("FU540 SPL init failed: %d\n", ret);
                return ret;