]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: stm32: Increment boot counter in SPL on DHSOM
authorMarek Vasut <marex@denx.de>
Tue, 6 Dec 2022 02:35:14 +0000 (03:35 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 7 Dec 2022 16:09:19 +0000 (17:09 +0100)
commit1ca617f5fd5bb5a0a6e3fad5fbab60493ab14f26
tree6afa3a591400746ed341a879aca2eef75814f80f
parent0eca0b1075a4040dd37291bf3fe9506a7fe98a6d
ARM: stm32: Increment boot counter in SPL on DHSOM

Increment the boot counter already in U-Boot SPL instead of incrementing
it only later in U-Boot proper. This can be used by SPL to boot either of
two U-Boot copies and improve redundancy of software on the platform, e.g.
in case of full A/B update strategy.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig