summaryrefslogtreecommitdiff
path: root/include/configs/pxm2.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-11-10 09:11:40 -0500
committerTom Rini <trini@konsulko.com>2021-12-01 10:58:10 -0500
commit970bf8603b877e2b66170290f751f9c23c120838 (patch)
tree70bca6d60c2184e8936ba8afdf009fd923c16d6b /include/configs/pxm2.h
parent7f3934fae5a39925d6db45a747aac46352f61b69 (diff)
downloadu-boot-970bf8603b877e2b66170290f751f9c23c120838.tar.gz
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/pxm2.h')
-rw-r--r--include/configs/pxm2.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/configs/pxm2.h b/include/configs/pxm2.h
index a333326dff..48b388a80a 100644
--- a/include/configs/pxm2.h
+++ b/include/configs/pxm2.h
@@ -71,38 +71,6 @@
#ifndef CONFIG_RESTORE_FLASH
/* set to negative value for no autoboot */
-
-#define CONFIG_BOOTCOMMAND \
- "if dfubutton; then " \
- "run dfu_start; " \
- "reset; " \
- "fi; " \
- "if mmc rescan; then " \
- "echo SD/MMC found on device ${mmc_dev};" \
- "if run loadbootenv; then " \
- "echo Loaded environment from ${bootenv};" \
- "run importbootenv;" \
- "fi;" \
- "if test -n $uenvcmd; then " \
- "echo Running uenvcmd ...;" \
- "run uenvcmd;" \
- "fi;" \
- "if run mmc_load_uimage; then " \
- "run mmc_args;" \
- "bootm ${kloadaddr};" \
- "fi;" \
- "fi;" \
- "run nand_boot;" \
- "reset;"
-
-#else
-
-#define CONFIG_BOOTCOMMAND \
- "setenv autoload no; " \
- "dhcp; " \
- "if tftp 80000000 debrick.scr; then " \
- "source 80000000; " \
- "fi"
#endif
#endif /* CONFIG_SPL_BUILD */