[PATCH 2/2] bootcount: Add pmic pfuze100 bootcount driver

Simon Glass sjg at chromium.org
Sat Mar 12 03:25:04 CET 2022


Hi Philip,

On Fri, 25 Feb 2022 at 06:56, Philip Oberfichtner <pro at denx.de> wrote:
>
> Use the MEMA - MEMD registers on the PFUZE100 as bootcount
> registers.
>
> Based on work from Heiko Schocher <hs at denx.de>.
> Signed-off-by: Philip Oberfichtner <pro at denx.de>
>
> ---
>
>  drivers/bootcount/Kconfig                   |  7 ++
>  drivers/bootcount/Makefile                  |  1 +
>  drivers/bootcount/bootcount_pmic_pfuze100.c | 83 +++++++++++++++++++++
>  3 files changed, 91 insertions(+)
>  create mode 100644 drivers/bootcount/bootcount_pmic_pfuze100.c

This should use driver model (DM_PMIC). Please don't add new features
to unmigrated code.

Regards,
Simon


More information about the U-Boot mailing list