[PATCH] ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

Marek Vasut marex at denx.de
Wed Sep 25 19:59:20 CEST 2024


On 9/25/24 7:50 PM, Patrick DELAUNAY wrote:
> Hi Marek,

Hi,

>>>> diff --git a/arch/arm/mach-stm32mp/stm32mp1/stm32mp15x.c b/arch/arm/ 
>>>> mach-stm32mp/stm32mp1/stm32mp15x.c
>>>> index f096fe538d8..ca202bec8ee 100644
>>>> --- a/arch/arm/mach-stm32mp/stm32mp1/stm32mp15x.c
>>>> +++ b/arch/arm/mach-stm32mp/stm32mp1/stm32mp15x.c
>>>> @@ -148,8 +148,8 @@ static void security_init(void)
>>>>        */
>>>>       clrsetbits_le32(TAMP_SMCR,
>>>>               TAMP_SMCR_BKPRWDPROT | TAMP_SMCR_BKPWDPROT,
>>>> -            FIELD_PREP(TAMP_SMCR_BKPRWDPROT, 0x20) |
>>>> -            FIELD_PREP(TAMP_SMCR_BKPWDPROT, 0x20));
>>>> +            FIELD_PREP(TAMP_SMCR_BKPRWDPROT, 0x0A) |
>>>> +            FIELD_PREP(TAMP_SMCR_BKPWDPROT, 0x0F));
>>>>         /* GPIOZ: deactivate the security */
>>>>       writel(BIT(0), RCC_MP_AHB5ENSETR);
>>>
>>> Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
>>
>> I hope this bugfix will make it into 2024.10 , can you prepare a 
>> bugfix PR for 2024.10 ?
> 
> 
> Thanks for reminder, I miss it.
> 
> And sorry for the delay, because a pull request was planned by Patrice 
> after with summer holiday....
> but unfortunately it can't do it now (he is out of the office for a few 
> weeks after a small incident)

I hope you had a good relaxing time ?

> so I will push a PR this week with your 2 bugfix patches.
Thank you !


More information about the U-Boot mailing list