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 <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
---
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 <[email protected]>

Thanks
Patrick

Reply via email to