On 2/24/26 13:55, Patrick DELAUNAY wrote:
> Hi,
> 
> On 2/4/26 11:16, Patrice Chotard wrote:
>> Same code is duplicated into stm32mp25x.c, stm32mp23x.c and stm32mp21x.c.
>>
>> Migrate read_deviceid(), get_cpu_dev(), get_cpu_rev(), get_cpu_type() and
>> get_cpu_package() into new stm32mp2x.c.
>>
>> Signed-off-by: Patrice Chotard <[email protected]>
>> ---
>>   arch/arm/mach-stm32mp/stm32mp2/Makefile     |  1 +
>>   arch/arm/mach-stm32mp/stm32mp2/stm32mp21x.c | 44 -----------------------
>>   arch/arm/mach-stm32mp/stm32mp2/stm32mp23x.c | 44 -----------------------
>>   arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 46 ------------------------
>>   arch/arm/mach-stm32mp/stm32mp2/stm32mp2x.c  | 56 
>> +++++++++++++++++++++++++++++
>>   5 files changed, 57 insertions(+), 134 deletions(-)
>>
> 
> 
> Reviewed-by: Patrick Delaunay <[email protected]>
> 
> Thanks
> Patrick
> 
> 

Applied to u-boot-stm32/master

Thanks
Patrice

Reply via email to