aboutsummaryrefslogtreecommitdiff
path: root/configs/sniper_defconfig
diff options
context:
space:
mode:
authorTom Rini2021-11-10 09:11:40 -0500
committerTom Rini2021-12-01 10:58:10 -0500
commit970bf8603b877e2b66170290f751f9c23c120838 (patch)
tree70bca6d60c2184e8936ba8afdf009fd923c16d6b /configs/sniper_defconfig
parent7f3934fae5a39925d6db45a747aac46352f61b69 (diff)
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 'configs/sniper_defconfig')
-rw-r--r--configs/sniper_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/sniper_defconfig b/configs/sniper_defconfig
index 354f2908558..5b030889cc5 100644
--- a/configs/sniper_defconfig
+++ b/configs/sniper_defconfig
@@ -8,7 +8,7 @@ CONFIG_SPL_TEXT_BASE=0x40200000
CONFIG_TARGET_SNIPER=y
CONFIG_SPL=y
CONFIG_DISTRO_DEFAULTS=y
-# CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_BOOTCOMMAND="setenv boot_mmc_part ${kernel_mmc_part}; if test reboot-${reboot-mode} = reboot-r; then echo recovery; setenv boot_mmc_part ${recovery_mmc_part}; fi; if test reboot-${reboot-mode} = reboot-b; then echo fastboot; fastboot 0; fi; part start mmc ${boot_mmc_dev} ${boot_mmc_part} boot_mmc_start; part size mmc ${boot_mmc_dev} ${boot_mmc_part} boot_mmc_size; mmc dev ${boot_mmc_dev}; mmc read ${kernel_addr_r} ${boot_mmc_start} ${boot_mmc_size} && bootm ${kernel_addr_r};"
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y