]> git.baikalelectronics.ru Git - uboot.git/commit
arm: stm32mp1: Set soc_type, soc_pkg, soc_rev env variables
authorMarek Vasut <marex@denx.de>
Wed, 31 Mar 2021 12:15:09 +0000 (14:15 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 9 Apr 2021 12:45:25 +0000 (14:45 +0200)
commitefc6850f356e85486cb06a71ea4d9c10f7f28da2
tree123f72f20760a69e4ef603c6757638039be31abf
parentf3a347a93ab1f7eca67a011e8ed2b00433ea9ca8
arm: stm32mp1: Set soc_type, soc_pkg, soc_rev env variables

Split up get_soc_name(), clean the decoding up a bit, and set up
environment variables which contain the SoC type, package, revision.
This is useful on SoMs, where multiple SoC options are populated.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/cpu.c