summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-02-06 10:47:59 +0100
committerTom Rini <trini@konsulko.com>2018-02-08 10:17:17 -0500
commit4c82b03c1223352c99084a6038122263df443dc4 (patch)
tree329932b463542ca510e60c68e3f15570679849bf /include/configs
parentc87c81186cf7e5073dbc7c5f46ad256a84f5ed22 (diff)
downloadu-boot-4c82b03c1223352c99084a6038122263df443dc4.tar.gz
configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG
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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/stm32f429-discovery.h1
-rw-r--r--include/configs/stm32f429-evaluation.h1
-rw-r--r--include/configs/stm32f469-discovery.h1
-rw-r--r--include/configs/stm32f746-disco.h1
-rw-r--r--include/configs/stm32h743-disco.h2
-rw-r--r--include/configs/stm32h743-eval.h2
6 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
index af9daad320..92166a4894 100644
--- a/include/configs/stm32f429-discovery.h
+++ b/include/configs/stm32f429-discovery.h
@@ -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};" \
diff --git a/include/configs/stm32f429-evaluation.h b/include/configs/stm32f429-evaluation.h
index ab33d0f3d2..79b77bd378 100644
--- a/include/configs/stm32f429-evaluation.h
+++ b/include/configs/stm32f429-evaluation.h
@@ -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"
diff --git a/include/configs/stm32f469-discovery.h b/include/configs/stm32f469-discovery.h
index c290a66fdd..99c3e08d33 100644
--- a/include/configs/stm32f469-discovery.h
+++ b/include/configs/stm32f469-discovery.h
@@ -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"
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h
index 3e952c2acd..b99eb71b48 100644
--- a/include/configs/stm32f746-disco.h
+++ b/include/configs/stm32f746-disco.h
@@ -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};" \
diff --git a/include/configs/stm32h743-disco.h b/include/configs/stm32h743-disco.h
index 531de70149..1494203e83 100644
--- a/include/configs/stm32h743-disco.h
+++ b/include/configs/stm32h743-disco.h
@@ -39,6 +39,8 @@
#define CONFIG_BOOTARGS \
"console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
+
/*
* Command line configuration.
*/
diff --git a/include/configs/stm32h743-eval.h b/include/configs/stm32h743-eval.h
index 531de70149..1494203e83 100644
--- a/include/configs/stm32h743-eval.h
+++ b/include/configs/stm32h743-eval.h
@@ -39,6 +39,8 @@
#define CONFIG_BOOTARGS \
"console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel"
+#define CONFIG_ENV_VARS_UBOOT_CONFIG
+
/*
* Command line configuration.
*/