]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 6 Feb 2018 09:47:59 +0000 (10:47 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 8 Feb 2018 15:17:17 +0000 (10:17 -0500)
Enable CONFIG_ENV_VARS_UBOOT_CONFIG for all STM32 boards
It allows to retrieve the SoC name into the "soc" environment
variable.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
include/configs/stm32f429-discovery.h
include/configs/stm32f429-evaluation.h
include/configs/stm32f469-discovery.h
include/configs/stm32f746-disco.h
include/configs/stm32h743-disco.h
include/configs/stm32h743-eval.h

index af9daad32072db7077ae8b02a1567fce6d63034e..92166a4894962247d573a8c71dc0cc350a50affe 100644 (file)
@@ -59,6 +59,7 @@
 #define CONFIG_BOOTCOMMAND                                             \
        "run bootcmd_romfs"
 
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
        "bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \
index ab33d0f3d2a247a0a967e51160d36d05fba9fd0d..79b77bd3781aac93ee421b4bc8b62b6654bc8139 100644 (file)
@@ -52,6 +52,7 @@
 #define CONFIG_BOOTCOMMAND                                             \
        "run boot_sd"
 
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "boot_sd=mmc dev 0;fatload mmc 0 0x00700000 stm32429i-eval.dtb; fatload mmc 0 0x00008000 zImage; icache off; bootz 0x00008000 - 0x00700000"
 
index c290a66fddd3a1e61db58f296e026b7c1c6acc84..99c3e08d330e1f7c75855d4e5888842eaf35f146 100644 (file)
@@ -54,6 +54,7 @@
 #define CONFIG_BOOTCOMMAND                                             \
        "run boot_sd"
 
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "boot_sd=mmc dev 0;fatload mmc 0 0x00700000 stm32f469-disco.dtb; fatload mmc 0 0x00008000 zImage; icache off; bootz 0x00008000 - 0x00700000"
 
index 3e952c2acd82c012c9da3bebc837c4eb62a8fa84..b99eb71b48c69ab727e9c49db0d01aeaf321432e 100644 (file)
@@ -52,6 +52,7 @@
 #define CONFIG_BOOTCOMMAND                                             \
        "run bootcmd_romfs"
 
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "bootargs_romfs=uclinux.physaddr=0x08180000 root=/dev/mtdblock0\0" \
        "bootcmd_romfs=setenv bootargs ${bootargs} ${bootargs_romfs};" \
index 531de701492aea3106400fa1c0e3129f5697755e..1494203e83b278574d9ad88450a347b73dca253a 100644 (file)
@@ -39,6 +39,8 @@
 #define CONFIG_BOOTARGS                                                        \
        "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
 
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
+
 /*
  * Command line configuration.
  */
index 531de701492aea3106400fa1c0e3129f5697755e..1494203e83b278574d9ad88450a347b73dca253a 100644 (file)
@@ -39,6 +39,8 @@
 #define CONFIG_BOOTARGS                                                        \
        "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
 
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
+
 /*
  * Command line configuration.
  */