mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01:00
riscv: sifive/fu540: spl: Rename soc_spl_init()
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>
This commit is contained in:
parent
c4295ec849
commit
d6a01704b0
@ -7,7 +7,7 @@
|
|||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
||||||
int soc_spl_init(void)
|
int spl_soc_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
struct udevice *dev;
|
struct udevice *dev;
|
||||||
|
|||||||
@ -9,6 +9,6 @@
|
|||||||
#ifndef _SPL_SIFIVE_H
|
#ifndef _SPL_SIFIVE_H
|
||||||
#define _SPL_SIFIVE_H
|
#define _SPL_SIFIVE_H
|
||||||
|
|
||||||
int soc_spl_init(void);
|
int spl_soc_init(void);
|
||||||
|
|
||||||
#endif /* _SPL_SIFIVE_H */
|
#endif /* _SPL_SIFIVE_H */
|
||||||
|
|||||||
@ -21,7 +21,7 @@ int spl_board_init_f(void)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = soc_spl_init();
|
ret = spl_soc_init();
|
||||||
if (ret) {
|
if (ret) {
|
||||||
debug("FU540 SPL init failed: %d\n", ret);
|
debug("FU540 SPL init failed: %d\n", ret);
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user