]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32f429: move CONFIG_BOOTCOMMAND in defconfig
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 6 Oct 2021 15:16:23 +0000 (17:16 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:25:57 +0000 (08:25 +0200)
Move CONFIG_BOOTCOMMAND defined in Kconfig in the board defconfig.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
configs/stm32f429-discovery_defconfig
include/configs/stm32f429-discovery.h

index a84c2972286ea03d5fad9f2e9586433ef2631a6e..06e4631d9f0ccc16d4def77a2670952cfad2e034 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_STM32F4=y
 CONFIG_TARGET_STM32F429_DISCOVERY=y
 CONFIG_ENV_VARS_UBOOT_CONFIG=y
 CONFIG_BOOTDELAY=3
+CONFIG_BOOTCOMMAND="run bootcmd_romfs"
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
 # CONFIG_DISPLAY_CPUINFO is not set
index 9b040a0ca358607b5293cfbc4fbc1ff8994c9d5a..d0ef18779fb41e78b8a15760655090530d6b9aaa 100644 (file)
@@ -29,9 +29,6 @@
 
 #define CONFIG_SYS_MALLOC_LEN          (2 << 20)
 
-#define CONFIG_BOOTCOMMAND                                             \
-       "run bootcmd_romfs"
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
        "bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \