Convert CONFIG_CMD_SPL to Kconfig
This converts the following to Kconfig: CONFIG_CMD_SPL Note that trats does not actually use SPL, so this option can no-longer be set. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
2a728f3a1e
commit
72c3033fd1
arch/arm
cmd
configs
am335x_boneblack_defconfigam335x_boneblack_vboot_defconfigam335x_evm_defconfigam335x_evm_nor_defconfigam335x_evm_usbspl_defconfigam335x_igep003x_defconfigam335x_sl50_defconfigam43xx_evm_defconfigam43xx_evm_ethboot_defconfigam43xx_evm_usbhost_boot_defconfigam57xx_evm_defconfigam57xx_evm_nodt_defconfigbirdland_bav335a_defconfigbirdland_bav335b_defconfigcairo_defconfigdevkit8000_defconfigdra7xx_evm_defconfigipam390_defconfigmicroblaze-generic_defconfigmx6sabresd_defconfigomap3_beagle_defconfigomap3_logic_defconfigomap3_overo_defconfigomap4_panda_defconfigomap5_uevm_defconfigpcm051_rev1_defconfigpcm051_rev3_defconfigpengwyn_defconfigtwister_defconfig
include/configs
gw_ventana.hipam390.hmicroblaze-generic.hmx6sabreauto.hmx6sabresd.hti_armv7_common.htrats.htwister.hzynq-common.h
scripts
@ -732,6 +732,7 @@ config ARCH_ZYNQ
|
||||
select CLK_ZYNQ
|
||||
imply CMD_CLK
|
||||
imply FAT_WRITE
|
||||
imply CMD_SPL
|
||||
|
||||
config ARCH_ZYNQMP
|
||||
bool "Support Xilinx ZynqMP Platform"
|
||||
|
@ -145,6 +145,7 @@ config TARGET_GW_VENTANA
|
||||
bool "gw_ventana"
|
||||
select SUPPORT_SPL
|
||||
imply CMD_SATA
|
||||
imply CMD_SPL
|
||||
|
||||
config TARGET_KOSAGI_NOVENA
|
||||
bool "Kosagi Novena"
|
||||
|
@ -81,6 +81,7 @@ config TARGET_AM335X_SHC
|
||||
select DM
|
||||
select DM_SERIAL
|
||||
select DM_GPIO
|
||||
imply CMD_SPL
|
||||
|
||||
config TARGET_AM335X_SL50
|
||||
bool "Support am335x_sl50"
|
||||
|
@ -276,6 +276,15 @@ config CMD_POWEROFF
|
||||
help
|
||||
Poweroff/Shutdown the system
|
||||
|
||||
config CMD_SPL
|
||||
bool "spl export - Export boot information for Falcon boot"
|
||||
depends on SPL
|
||||
help
|
||||
Falcon mode allows booting directly from SPL into an Operating
|
||||
System such as Linux, thus skipping U-Boot proper. See
|
||||
doc/README.falcon for full information about how to use this
|
||||
command.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Environment commands"
|
||||
|
@ -24,6 +24,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x81000000
|
||||
CONFIG_FASTBOOT_BUF_SIZE=0x07000000
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_DFU_TFTP=y
|
||||
|
@ -27,6 +27,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x81000000
|
||||
CONFIG_FASTBOOT_BUF_SIZE=0x07000000
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_OF_CONTROL=y
|
||||
|
@ -20,6 +20,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x81000000
|
||||
CONFIG_FASTBOOT_BUF_SIZE=0x07000000
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
|
@ -19,6 +19,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x81000000
|
||||
CONFIG_FASTBOOT_BUF_SIZE=0x07000000
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_CMD_MTDPARTS=y
|
||||
|
@ -22,6 +22,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x81000000
|
||||
CONFIG_FASTBOOT_BUF_SIZE=0x07000000
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
|
@ -29,6 +29,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
|
@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
|
||||
CONFIG_AUTOBOOT_DELAY_STR="d"
|
||||
CONFIG_AUTOBOOT_STOP_STR=" "
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_NAND=y
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
|
@ -15,6 +15,7 @@ CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -19,6 +19,7 @@ CONFIG_SPL_USB_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -33,6 +33,7 @@ CONFIG_FASTBOOT_USB_DEV=1
|
||||
CONFIG_FASTBOOT_FLASH=y
|
||||
CONFIG_FASTBOOT_FLASH_MMC_DEV=1
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
# CONFIG_CMD_PMIC is not set
|
||||
|
@ -24,6 +24,7 @@ CONFIG_FASTBOOT_FLASH=y
|
||||
CONFIG_FASTBOOT_FLASH_MMC_DEV=1
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_GPT=y
|
||||
|
@ -26,6 +26,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -26,6 +26,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -14,6 +14,7 @@ CONFIG_SYS_PROMPT="Cairo # "
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMI is not set
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
|
@ -10,6 +10,7 @@ CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
# CONFIG_CMD_IMI is not set
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
CONFIG_CMD_NAND=y
|
||||
|
@ -32,6 +32,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x2f000000
|
||||
CONFIG_FASTBOOT_FLASH=y
|
||||
CONFIG_FASTBOOT_FLASH_MMC_DEV=1
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_CMD_SETEXPR is not set
|
||||
CONFIG_ISO_PARTITION=y
|
||||
|
@ -17,6 +17,7 @@ CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="U-Boot > "
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CRC32_VERIFY=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_SYS_OS_BASE=0x2c060000
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="U-Boot-mONStR> "
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_GPIO=y
|
||||
CONFIG_CMD_MFSL=y
|
||||
|
@ -22,6 +22,7 @@ CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
CONFIG_CMD_PART=y
|
||||
|
@ -11,6 +11,7 @@ CONFIG_SPL=y
|
||||
CONFIG_SPL_MTD_SUPPORT=y
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
|
@ -19,6 +19,7 @@ CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="OMAP Logic # "
|
||||
# CONFIG_CMD_IMI is not set
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
# CONFIG_CMD_EEPROM is not set
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_NAND=y
|
||||
|
@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="Overo # "
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMI is not set
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
|
@ -15,6 +15,7 @@ CONFIG_SPL=y
|
||||
# CONFIG_SPL_I2C_SUPPORT is not set
|
||||
CONFIG_SPL_OS_BOOT=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
|
@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_GPT=y
|
||||
|
@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -29,6 +29,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_BOOTZ=y
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_ASKENV=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="twister => "
|
||||
# CONFIG_CMD_IMLS is not set
|
||||
CONFIG_CMD_SPL=y
|
||||
CONFIG_CMD_EEPROM=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MMC=y
|
||||
|
@ -12,7 +12,6 @@
|
||||
#define CONFIG_SYS_NAND_U_BOOT_OFFS (14 * SZ_1M)
|
||||
|
||||
/* Falcon Mode */
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||
#define CONFIG_CMD_SPL_WRITE_SIZE (128 * SZ_1K)
|
||||
|
||||
|
@ -274,7 +274,6 @@
|
||||
GENERATED_GBL_DATA_SIZE)
|
||||
|
||||
/* add FALCON boot mode */
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000
|
||||
#define CONFIG_SYS_SPL_ARGS_ADDR LINUX_BOOT_PARAM_ADDR
|
||||
#define CONFIG_CMD_SPL_NAND_OFS 0x00180000
|
||||
|
@ -233,7 +233,6 @@
|
||||
#endif
|
||||
|
||||
/* SPL part */
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_SPL_FRAMEWORK
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/microblaze/cpu/u-boot-spl.lds"
|
||||
|
@ -34,7 +34,6 @@
|
||||
#ifdef CONFIG_SPL_OS_BOOT
|
||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||
#define CONFIG_CMD_SPL_WRITE_SIZE (128 * SZ_1K)
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
/* Falcon Mode */
|
||||
#define CONFIG_SPL_FS_LOAD_ARGS_NAME "args"
|
||||
#define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_SYS_SPL_ARGS_ADDR 0x18000000
|
||||
#define CONFIG_CMD_SPL_WRITE_SIZE (128 * SZ_1K)
|
||||
|
||||
|
@ -201,10 +201,6 @@
|
||||
#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0x1700 /* address 0x2E0000 */
|
||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0x1500 /* address 0x2A0000 */
|
||||
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0x200 /* 256KiB */
|
||||
|
||||
|
||||
/* spl export command */
|
||||
#define CONFIG_CMD_SPL
|
||||
#endif
|
||||
|
||||
/* General parts of the framework, required. */
|
||||
|
@ -166,7 +166,6 @@
|
||||
"fdtaddr=40800000\0" \
|
||||
|
||||
/* Falcon mode definitions */
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_SYS_SPL_ARGS_ADDR CONFIG_SYS_SDRAM_BASE + 0x100
|
||||
|
||||
/* GPT */
|
||||
|
@ -36,7 +36,6 @@
|
||||
"bootcmd=run nandboot\0"
|
||||
|
||||
/* SPL OS boot options */
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_CMD_SPL_WRITE_SIZE 0x400 /* 1024 byte */
|
||||
#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000
|
||||
#define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
|
||||
|
@ -318,7 +318,6 @@
|
||||
/* Commands */
|
||||
|
||||
/* SPL part */
|
||||
#define CONFIG_CMD_SPL
|
||||
#define CONFIG_SPL_FRAMEWORK
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-zynq/u-boot-spl.lds"
|
||||
|
@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
|
||||
CONFIG_CMDLINE_EDITING
|
||||
CONFIG_CMDLINE_PS_SUPPORT
|
||||
CONFIG_CMDLINE_TAG
|
||||
CONFIG_CMD_SPL
|
||||
CONFIG_CMD_SPL_NAND_OFS
|
||||
CONFIG_CMD_SPL_WRITE_SIZE
|
||||
CONFIG_CMD_STRINGS
|
||||
|
Loading…
Reference in New Issue
Block a user