]> git.dujemihanovic.xyz Git - u-boot.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)
commit2c2d7d6a72ba4a4f9323f24b8caa3b1e05546d83
tree123f72f20760a69e4ef603c6757638039be31abf
parenta08d1a916b9b86889c8ff54d85bc3fb8989fd91c
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