]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynq(mp): Rename spl_board_init() to spl_soc_init()
authorLukas Funke <lukas.funke@weidmueller.com>
Wed, 27 Mar 2024 12:11:53 +0000 (13:11 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 17 Jun 2024 14:02:29 +0000 (16:02 +0200)
Rename spl_board_init() to spl_soc_init(). SoC specific
implementation should be separated from board specific implementation
in order to be extended by board developers.

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20240327121153.2455126-3-lukas.funke-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/Kconfig
arch/arm/mach-zynq/spl.c
arch/arm/mach-zynqmp/spl.c

index 39ad03acd2e43dada686be633edb8ee993e04feb..6d9a4c993c343b9ed0066e20b5c647e97d91de78 100644 (file)
@@ -1272,7 +1272,7 @@ config ARCH_ZYNQ
        select OF_CONTROL
        select MTD
        select SPI
-       select SPL_BOARD_INIT if SPL
+       select SPL_SOC_INIT if SPL
        select SPL_CLK if SPL
        select SPL_DM if SPL
        select SPL_DM_SPI if SPL
@@ -1315,7 +1315,7 @@ config ARCH_ZYNQMP
        imply FIRMWARE
        select GICV2
        select OF_CONTROL
-       select SPL_BOARD_INIT if SPL
+       select SPL_SOC_INIT if SPL
        select SPL_CLK if SPL
        select SPL_DM if SPL
        select SPL_DM_SPI if SPI && SPL_DM
index 8ef12ed65ceb40fc5fc2d7bd3f00b140ec89d8a9..dc964dc2f9fee1956b40ef3bc5348b4d8af7aa8d 100644 (file)
@@ -31,8 +31,8 @@ void board_init_f(ulong dummy)
        arch_cpu_init();
 }
 
-#ifdef CONFIG_SPL_BOARD_INIT
-void spl_board_init(void)
+#ifdef CONFIG_SPL_SOC_INIT
+void spl_soc_init(void)
 {
        preloader_console_init();
 #if defined(CONFIG_ARCH_EARLY_INIT_R) && defined(CONFIG_SPL_FPGA)
index 6b67245f348c5b7198fc8b7bbdaa47d751b7a455..4a2d240abbb645641931ec341798879bf2ffd4fb 100644 (file)
@@ -56,8 +56,8 @@ static void ps_mode_reset(ulong mode)
 # define MODE_RESET    PS_MODE1
 #endif
 
-#ifdef CONFIG_SPL_BOARD_INIT
-void spl_board_init(void)
+#ifdef CONFIG_SPL_SOC_INIT
+void spl_soc_init(void)
 {
        preloader_console_init();
        ps_mode_reset(MODE_RESET);