configs: Migrate the various SPL_BOOT_xxx choices for PowerPC
The non-CONFIG_SPL_FRAMEWORK SPL used on some PowerPC platforms have a choice between CONFIG_SPL_NAND_BOOT, CONFIG_SPL_MMC_BOOT and CONFIG_SPL_SPI_BOOT. Migrate this to Kconfig Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#define CONFIG_SYS_NAND_U_BOOT_START 0x00200000
|
||||
#define CONFIG_SYS_NAND_U_BOOT_OFFS (256 << 10)
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds"
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SPL_SKIP_RELOCATE
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
#define CONFIG_SPL_INIT_MINIMAL
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#define CONFIG_SPL_FLUSH_IMAGE
|
||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
#define CONFIG_SPL_INIT_MINIMAL
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#define CONFIG_SPL_FLUSH_IMAGE
|
||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
#ifdef CONFIG_TPL_BUILD
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#define CONFIG_SPL_FLUSH_IMAGE
|
||||
#define CONFIG_SPL_NAND_INIT
|
||||
#define CONFIG_TPL_DRIVERS_MISC_SUPPORT
|
||||
|
||||
@@ -209,12 +209,6 @@ boards, we say we have two, but don't display a message if we find only one. */
|
||||
|
||||
#define CONFIG_SYS_VSC7385_BASE 0xF8000000
|
||||
|
||||
#ifdef CONFIG_VSC7385_ENET
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#define CONFIG_SYS_LED_BASE 0xF9000000
|
||||
|
||||
|
||||
|
||||
@@ -186,11 +186,6 @@
|
||||
|
||||
#define CONFIG_SYS_VSC7385_BASE 0xF0000000
|
||||
|
||||
#ifdef CONFIG_VSC7385_ENET
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Serial Port
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#define CONFIG_SYS_MMC_U_BOOT_OFFS (96 << 10)
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
#endif
|
||||
@@ -46,7 +45,6 @@
|
||||
#define CONFIG_SYS_SPI_FLASH_U_BOOT_OFFS (96 << 10)
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
#endif
|
||||
@@ -56,7 +54,6 @@
|
||||
#ifdef CONFIG_NAND
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_SPL_INIT_MINIMAL
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#define CONFIG_SPL_FLUSH_IMAGE
|
||||
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
|
||||
|
||||
@@ -70,7 +67,6 @@
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds"
|
||||
#else
|
||||
#ifdef CONFIG_TPL_BUILD
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#define CONFIG_SPL_FLUSH_IMAGE
|
||||
#define CONFIG_SPL_NAND_INIT
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#define CONFIG_SYS_MMC_U_BOOT_OFFS (128 << 10)
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
#endif
|
||||
@@ -39,7 +38,6 @@
|
||||
#define CONFIG_SYS_SPI_FLASH_U_BOOT_OFFS (128 << 10)
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
#endif
|
||||
@@ -51,7 +49,6 @@
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
#ifdef CONFIG_TPL_BUILD
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#define CONFIG_SPL_FLUSH_IMAGE
|
||||
#define CONFIG_SPL_NAND_INIT
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
#define CONFIG_SYS_NAND_U_BOOT_OFFS (256 << 10)
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds"
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t102xqds/t1024_nand_rcw.cfg
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPIFLASH
|
||||
@@ -61,7 +60,6 @@
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#endif
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t102xqds/t1024_spi_rcw.cfg
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SDCARD
|
||||
@@ -75,7 +73,6 @@
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#endif
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t102xqds/t1024_sd_rcw.cfg
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_RAMBOOT_PBL */
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
#elif defined(CONFIG_TARGET_T1023RDB)
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t102xrdb/t1023_nand_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPIFLASH
|
||||
@@ -72,7 +71,6 @@
|
||||
#elif defined(CONFIG_TARGET_T1023RDB)
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t102xrdb/t1023_spi_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SDCARD
|
||||
@@ -90,7 +88,6 @@
|
||||
#elif defined(CONFIG_TARGET_T1023RDB)
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t102xrdb/t1023_sd_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_RAMBOOT_PBL */
|
||||
|
||||
@@ -67,7 +67,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1040d4_nand_rcw.cfg
|
||||
#define CONFIG_SYS_FSL_PBL_RCW \
|
||||
$(SRCTREE)/board/freescale/t104xrdb/t1042d4_nand_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPIFLASH
|
||||
@@ -101,7 +100,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1040d4_spi_rcw.cfg
|
||||
#define CONFIG_SYS_FSL_PBL_RCW \
|
||||
$(SRCTREE)/board/freescale/t104xrdb/t1042d4_spi_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SDCARD
|
||||
@@ -134,7 +132,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1040d4_sd_rcw.cfg
|
||||
#define CONFIG_SYS_FSL_PBL_RCW \
|
||||
$(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
#elif defined(CONFIG_ARCH_T2081)
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t208xqds/t2081_nand_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPIFLASH
|
||||
@@ -76,7 +75,6 @@
|
||||
#elif defined(CONFIG_ARCH_T2081)
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t208xqds/t2081_spi_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SDCARD
|
||||
@@ -94,7 +92,6 @@
|
||||
#elif defined(CONFIG_ARCH_T2081)
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t208xqds/t2081_sd_rcw.cfg
|
||||
#endif
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_RAMBOOT_PBL */
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
#define CONFIG_SYS_NAND_U_BOOT_OFFS (256 << 10)
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds"
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t208xrdb/t2080_nand_rcw.cfg
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPIFLASH
|
||||
@@ -62,7 +61,6 @@
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#endif
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t208xrdb/t2080_spi_rcw.cfg
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SDCARD
|
||||
@@ -76,7 +74,6 @@
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#endif
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t208xrdb/t2080_sd_rcw.cfg
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_RAMBOOT_PBL */
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#define CONFIG_SYS_NAND_U_BOOT_OFFS (256 << 10)
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot-nand.lds"
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t4qds/t4_nand_rcw.cfg
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SDCARD
|
||||
@@ -47,7 +46,6 @@
|
||||
#endif
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SYS_FSL_PBL_RCW board/freescale/t4qds/t4_sd_rcw.cfg
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#endif
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SYS_FSL_PBL_RCW $(SRCTREE)/board/freescale/t4rdb/t4_sd_rcw.cfg
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
|
||||
@@ -143,7 +143,6 @@
|
||||
#define CONFIG_SYS_MMC_U_BOOT_OFFS (128 << 10)
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SPL_MMC_BOOT
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
#endif
|
||||
@@ -161,7 +160,6 @@
|
||||
#define CONFIG_SYS_SPI_FLASH_U_BOOT_OFFS (128 << 10)
|
||||
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
|
||||
#define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc85xx/u-boot.lds"
|
||||
#define CONFIG_SPL_SPI_BOOT
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
#endif
|
||||
@@ -169,7 +167,6 @@
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
#ifdef CONFIG_TPL_BUILD
|
||||
#define CONFIG_SPL_NAND_BOOT
|
||||
#define CONFIG_SPL_FLUSH_IMAGE
|
||||
#define CONFIG_SPL_NAND_INIT
|
||||
#define CONFIG_SPL_COMMON_INIT_DDR
|
||||
|
||||
Reference in New Issue
Block a user