From: Vasileios Amoiridis <[email protected]>
Add support for the bootcount API by utilizing the internal Persistent
Global General Registers of the PMU. These registers get reset whenever
there is a Power-On-Reset so it makes them suitable for the API.
Questions towards reviewers:
1) Is the licensing of the file ok?
2) How am I supposed to add a maintainer for this file?
3) Is this the correct place for this macro? (Maybe this one
goes more towards Michal.)
Cheers,
Vasilis
Vasileios Amoiridis (1):
drivers: bootcount: Add ZynqMP specific bootcount support
drivers/bootcount/Kconfig | 4 ++++
drivers/bootcount/Makefile | 1 +
drivers/bootcount/bootcount_zynqmp.c | 28 ++++++++++++++++++++++++++++
3 files changed, 33 insertions(+)
create mode 100644 drivers/bootcount/bootcount_zynqmp.c
base-commit: 3df6145db0ed3430a2af089db5a82372bea3f4d5
--
2.34.1