diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-02-27 17:01:11 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@st.com> | 2019-04-12 16:09:13 +0200 |
commit | b4ae34b66b2d5447e0422e03bf88dd0fde31dea0 (patch) | |
tree | 243411abcb2ea1d76aacec141123706cbdadd055 /arch/arm/Kconfig | |
parent | d461f1003627043e4385a2f15093f92d3008e86b (diff) |
stm32mp1: add runtime information in environment
Set board name with the first dts compatible found in DT
code under CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
The result with DEVICE_TREE=stm32mp157c-ev1 is:
STM32MP> env print
board=stm32mp1
board_name=stm32mp157c-ev1
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 764547091c..33628b86d4 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1403,6 +1403,7 @@ config ARCH_STM32MP select SYSRESET select SYS_THUMB_BUILD imply CMD_DM + imply ENV_VARS_UBOOT_RUNTIME_CONFIG help Support for STM32MP SoC family developed by STMicroelectronics, MPUs based on ARM cortex A core |