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

Patrice CHOTARD patrice.chotard at foss.st.com
Fri Apr 9 14:49:43 CEST 2021


Hi Marek

On 4/9/21 2:43 PM, Patrick DELAUNAY wrote:
> 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
> 

Applied to u-boot-stm/master

Thanks
Patrice


More information about the U-Boot mailing list