diff options
author | Tom Rini <trini@konsulko.com> | 2021-11-10 09:11:40 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-01 10:58:10 -0500 |
commit | 970bf8603b877e2b66170290f751f9c23c120838 (patch) | |
tree | 70bca6d60c2184e8936ba8afdf009fd923c16d6b /include/configs/at91-sama5_common.h | |
parent | 7f3934fae5a39925d6db45a747aac46352f61b69 (diff) | |
download | u-boot-970bf8603b877e2b66170290f751f9c23c120838.zip u-boot-970bf8603b877e2b66170290f751f9c23c120838.tar.gz u-boot-970bf8603b877e2b66170290f751f9c23c120838.tar.bz2 |
Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig
This converts the following to Kconfig:
CONFIG_USE_BOOTCOMMAND
CONFIG_BOOTCOMMAND
CONFIG_RAMBOOTCOMMAND
CONFIG_NFSBOOTCOMMAND
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/at91-sama5_common.h')
-rw-r--r-- | include/configs/at91-sama5_common.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h index 9a73e3a..b93c67b 100644 --- a/include/configs/at91-sama5_common.h +++ b/include/configs/at91-sama5_common.h @@ -21,31 +21,12 @@ #define CONFIG_BOOTP_BOOTFILESIZE #ifdef CONFIG_SD_BOOT -#define CONFIG_BOOTCOMMAND "if test ! -n ${dtb_name}; then " \ - "setenv dtb_name at91-${board_name}.dtb; " \ - "fi; " \ - "fatload mmc 0:1 0x21000000 ${dtb_name}; " \ - "fatload mmc 0:1 0x22000000 zImage; " \ - "bootz 0x22000000 - 0x21000000" - #else #ifdef CONFIG_NAND_BOOT /* u-boot env in nand flash */ -#define CONFIG_BOOTCOMMAND "nand read 0x21000000 0x180000 0x80000;" \ - "nand read 0x22000000 0x200000 0x600000;" \ - "bootz 0x22000000 - 0x21000000" #elif CONFIG_SPI_BOOT /* u-boot env in serial flash, by default is bus 0 and cs 0 */ -#define CONFIG_BOOTCOMMAND "sf probe 0; " \ - "sf read 0x21000000 0x60000 0xc000; " \ - "sf read 0x22000000 0x6c000 0x394000; " \ - "bootz 0x22000000 - 0x21000000" -#elif CONFIG_QSPI_BOOT -#define CONFIG_BOOTCOMMAND "sf probe 0; " \ - "sf read 0x21000000 0x180000 0x80000; " \ - "sf read 0x22000000 0x200000 0x600000; " \ - "bootz 0x22000000 - 0x21000000" #endif #endif |