[PATCH V2] arm: stm32mp1: Set soc_type, soc_pkg, soc_rev env variables

Patrick DELAUNAY patrick.delaunay at foss.st.com
Fri Apr 9 14:43:34 CEST 2021


Hi Marek,

On 3/31/21 2:15 PM, Marek Vasut wrote:
> 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 at denx.de>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> ---
> V2: Fix pkg = 0 , which should be *pkg = 0
> ---
>   arch/arm/mach-stm32mp/cpu.c | 105 ++++++++++++++++++------------------
>   1 file changed, 53 insertions(+), 52 deletions(-)
>

Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick



More information about the U-Boot mailing list