configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG
PATCH 1/1 configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG
From: Patrice Chotard <[email protected]>
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 <[email protected]>
Signed-off-by Patrice Chotard <[email protected]>
--- include/configs/stm32f429-discovery.h | 1 + include/configs/stm32f429-evaluation.h | 1 + include/configs/stm32f469-discovery.h | 1 + include/configs/stm32f746-disco.h | 1 + include/configs/stm32h743-disco.h | 2 ++ include/configs/stm32h743-eval.h | 2 ++ 6 files changed, 8 insertions(+)
include/configs/stm32f429-discovery.h +1 -0
@@ -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};" \
include/configs/stm32f429-evaluation.h +1 -0
@@ -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"
include/configs/stm32f469-discovery.h +1 -0
@@ -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"
include/configs/stm32f746-disco.h +1 -0
@@ -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};" \
include/configs/stm32h743-disco.h +2 -0
@@ -39,6 +39,8 @@#define CONFIG_BOOTARGS \ "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" +#define CONFIG_ENV_VARS_UBOOT_CONFIG +/* * Command line configuration. */
include/configs/stm32h743-eval.h +2 -0
@@ -39,6 +39,8 @@#define CONFIG_BOOTARGS \ "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" +#define CONFIG_ENV_VARS_UBOOT_CONFIG +/* * Command line configuration. */
Signature · 1 line
1.9.1
PATCH 1/1 configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG
Hi,
Quoted 8 lines · patrice.chotard at st.com
From: Patrice Chotard <[email protected]>
Enable
CONFIG_ENV_VARS_UBOOT_CONFIGfor all STM32 boards It allows to retrieve the SoC name into the "soc" environment variable.Signed-off-by Christophe Priouzeau <[email protected]>Signed-off-by Patrice Chotard <[email protected]>
Reviewed-by Vikas Manocha <[email protected]>
Cheers,
Vikas
Quoted 84 lines
--- include/configs/stm32f429-discovery.h | 1 + include/configs/stm32f429-evaluation.h | 1 + include/configs/stm32f469-discovery.h | 1 + include/configs/stm32f746-disco.h | 1 + include/configs/stm32h743-disco.h | 2 ++ include/configs/stm32h743-eval.h | 2 ++ 6 files changed, 8 insertions(+)include/configs/stm32f429-discovery.h +1
-0@@ -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};" \include/configs/stm32f429-evaluation.h +1
-0@@ -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"include/configs/stm32f469-discovery.h +1
-0@@ -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"include/configs/stm32f746-disco.h +1
-0@@ -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};" \include/configs/stm32h743-disco.h +2
-0@@ -39,6 +39,8 @@#define CONFIG_BOOTARGS \ "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" +#define CONFIG_ENV_VARS_UBOOT_CONFIG +/* * Command line configuration. */ include/configs/stm32h743-eval.h +2
-0@@ -39,6 +39,8 @@#define CONFIG_BOOTARGS \ "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" +#define CONFIG_ENV_VARS_UBOOT_CONFIG +/* * Command line configuration. */
Quoted 9 lines · patrice.chotard at st.com
From: Patrice Chotard <[email protected]>
Enable
CONFIG_ENV_VARS_UBOOT_CONFIGfor all STM32 boards It allows to retrieve the SoC name into the "soc" environment variable.Signed-off-by Christophe Priouzeau <[email protected]>Signed-off-by Patrice Chotard <[email protected]>Reviewed-by Vikas Manocha <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom