[U-Boot] [PATCH 4/5] moveconfig: prepare moving CONFIG_SYS_SPI_U_BOOT_OFFS to Kconfig step 4

Hannes Schmelzer hannes.schmelzer at br-automation.com
Thu Aug 22 13:41:45 UTC 2019


the x530 board needs conversion of SPL_SPI_LOAD to Kconfig first

Signed-off-by: Hannes Schmelzer <hannes.schmelzer at br-automation.com>
---

 configs/x530_defconfig | 1 +
 include/configs/x530.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/x530_defconfig b/configs/x530_defconfig
index 7db8de4..2bf20f4 100644
--- a/configs/x530_defconfig
+++ b/configs/x530_defconfig
@@ -21,6 +21,7 @@ CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC=y
 CONFIG_MISC_INIT_R=y
 CONFIG_SPL_TEXT_BASE=0x40000030
 CONFIG_SPL_BOARD_INIT=y
+CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_CMD_MEMINFO=y
 # CONFIG_CMD_FLASH is not set
diff --git a/include/configs/x530.h b/include/configs/x530.h
index 80ae15b..0946121 100644
--- a/include/configs/x530.h
+++ b/include/configs/x530.h
@@ -120,7 +120,6 @@
 #define CONFIG_SPL_BOOTROM_SAVE		(CONFIG_SPL_STACK + 4)
 
 /* SPL related SPI defines */
-#define CONFIG_SPL_SPI_LOAD
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	0x24000
 #define CONFIG_SYS_U_BOOT_OFFS		CONFIG_SYS_SPI_U_BOOT_OFFS
 
-- 
2.7.4




More information about the U-Boot mailing list