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

Philip Oberfichtner pro at denx.de
Fri Mar 18 12:12:10 CET 2022


On Fri, 2022-03-11 at 19:25 -0700, Simon Glass wrote:
> 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

Hi Simon, 
thanks for the feedback. I sent a V2 using DM.

Best regardsPhilip



More information about the U-Boot mailing list