]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: bootcount: Add ZynqMP specific bootcount support
authorVasileios Amoiridis <vasileios.amoiridis@cern.ch>
Tue, 5 Nov 2024 13:27:44 +0000 (14:27 +0100)
committerMichal Simek <michal.simek@amd.com>
Fri, 15 Nov 2024 13:32:47 +0000 (14:32 +0100)
commit159dfef2615dcc83acf4e28bbed0387d72066b0c
tree127e1c9ac5c0f1fed91b5d0300abaa1a6ecce97f
parent4bd7222c6ba36715c5a4e1f6684bec63489e1acd
drivers: bootcount: Add ZynqMP specific bootcount support

Add native support of the bootcount mechanism in the ZynqMP by
utilising internal PMU registers. The Persistent Global Storage
Registers of the Platform Management Unit can keep their value
during reboot cycles unless there is a POR reset, making them
appropriate for the bootcount mechanism.

Signed-off-by: Vasileios Amoiridis <vasileios.amoiridis@cern.ch>
Reviewed-by: Heiko Schocher <hs@denx.de>
Link: https://lore.kernel.org/r/20241105132744.1572759-2-vassilisamir@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
MAINTAINERS
arch/arm/mach-zynqmp/include/mach/hardware.h
drivers/bootcount/Kconfig
drivers/bootcount/Makefile
drivers/bootcount/bootcount_zynqmp.c [new file with mode: 0644]