]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: evb-ast2500: Move BOOTCOMMAND from header to defconfig
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Mon, 3 Aug 2020 09:36:09 +0000 (17:36 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 14 Aug 2020 13:46:40 +0000 (09:46 -0400)
Move the BOOTCOMMAND definition from the board inclusion
header to the default configuration file.

Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com>
configs/evb-ast2500_defconfig
include/configs/aspeed-common.h

index 825fa4dae1d8e26a54244aa937e149ddc269e5da..ce38b38183fd9f8e9265bbbad5fae5009adef0aa 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_PRE_CON_BUF_ADDR=0x1e720000
 CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS4,115200n8 root=/dev/ram rw"
+CONFIG_USE_BOOTCOMMAND=y
+CONFIG_BOOTCOMMAND="bootm 20080000 20300000"
 CONFIG_PRE_CONSOLE_BUFFER=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_HUSH_PARSER=y
index 14dd5c795d392425c81382773d5babb72ebefe0a..df0f5d2e76f7995c2317eb58af88b5fdc1fa1f64 100644 (file)
@@ -47,8 +47,6 @@
  * Miscellaneous configurable options
  */
 
-#define CONFIG_BOOTCOMMAND             "bootm 20080000 20300000"
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "verify=yes\0"  \
        "spi_dma=yes\0" \