From: Patrice CHOTARD Date: Fri, 9 Apr 2021 14:49:43 +0200 Subject: [PATCH V2] arm: stm32mp1: Set soc_type, soc_pkg, soc_rev env variables In-Reply-To: <40d60308-250b-25b0-8001-6e019d7bde46@foss.st.com> References: <20210331121509.344269-1-marex@denx.de> <40d60308-250b-25b0-8001-6e019d7bde46@foss.st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >> Cc: Patrick Delaunay >> Cc: Patrice Chotard >> --- >> 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 > > Thanks > Patrick > Applied to u-boot-stm/master Thanks Patrice