]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx
authorMarek Vasut <marex@denx.de>
Tue, 18 Jun 2024 22:57:25 +0000 (00:57 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 25 Sep 2024 17:40:27 +0000 (19:40 +0200)
commit6b84683acc86f94c7dc15d621b5bca533bf8a01a
treeebe9b4b412ccb5ff83dd10653729e5b8177229ab
parent541d21cf08ed318a6088d90a7db423b1e50e4038
ARM: stm32: Fix TAMP_SMCR BKP..PROT fields on STM32MP15xx

Update the TAMP_SMCR BKP..PROT fields to put first 10 registers
into protection zone 1 and next 5 into zone 2. This fixes use of
boot counter which is often in zone 3 and has to be updated from
Linux, which runs in NS.

Fixes: 73f7fc944cf6 ("ARM: stm32: Initialize TAMP_SMCR BKP..PROT fields on STM32MP15xx")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/stm32mp1/stm32mp15x.c