]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp1: add runtime information in environment
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 27 Feb 2019 16:01:11 +0000 (17:01 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Apr 2019 14:09:13 +0000 (16:09 +0200)
commite5df6686a0ceee0036d6e96a74f38cbe87287dc6
tree243411abcb2ea1d76aacec141123706cbdadd055
parent4b2e3c401ab51c0a11bef7416ea6de78cb7c5b78
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>
arch/arm/Kconfig
board/st/stm32mp1/stm32mp1.c