summaryrefslogtreecommitdiff
path: root/include/configs/at91-sama5_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-01 21:30:59 +0300
committerTom Rini <trini@konsulko.com>2021-12-01 21:32:35 +0300
commitfc47dbb26e9d86a688e69e198b2ed0749db16756 (patch)
tree5244c42072ef011ccf9e3c598d538a6a6b62878e /include/configs/at91-sama5_common.h
parent7f3934fae5a39925d6db45a747aac46352f61b69 (diff)
parent33b02e93ecb3f6e3f128618e129785f3fdeb3cd9 (diff)
downloadu-boot-fc47dbb26e9d86a688e69e198b2ed0749db16756.tar.xz
Merge branch '2021-12-01-Kconfig-migrations' into next
- Finish converting CONFIG_USE_BOOTCOMMAND, CONFIG_BOOTCOMMAND, CONFIG_RAMBOOTCOMMAND, CONFIG_NFSBOOTCOMMAND, all of CONFIG_SYS_[BO]R[0-7]_PRELIM, CONFIG_FSL_DDR_BIST and CONFIG_FSL_DDR_INTERACTIVE.
Diffstat (limited to 'include/configs/at91-sama5_common.h')
-rw-r--r--include/configs/at91-sama5_common.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
index 9a73e3afca..b93c67be52 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