On Tue, Oct 31, 2017 at 12:16:28PM +0000, Martyn Welch wrote: > From: Ian Ray <[email protected]> > > Add support for bootcounter on an EXT filesystem. > Sync configuration whitelist. > > Signed-off-by: Ian Ray <[email protected]> > Signed-off-by: Martyn Welch <[email protected]> > --- > Changes for v2: > - Adding Kconfig for EXT bootcount. > > README | 7 +++++ > drivers/Kconfig | 2 ++ > drivers/bootcount/Kconfig | 46 ++++++++++++++++++++++++++++++ > drivers/bootcount/Makefile | 1 + > drivers/bootcount/bootcount_ext.c | 59 > +++++++++++++++++++++++++++++++++++++++ > 5 files changed, 115 insertions(+) > create mode 100644 drivers/bootcount/Kconfig > create mode 100644 drivers/bootcount/bootcount_ext.c > > diff --git a/README b/README > index f288176..6336c5c 100644 > --- a/README > +++ b/README > @@ -2362,6 +2362,13 @@ The following options need to be configured: > CONFIG_SYS_BOOTCOUNT_ADDR = i2c addr which is used for > the bootcounter. > CONFIG_BOOTCOUNT_ALEN = address len > + CONFIG_BOOTCOUNT_EXT > + enable support for the bootcounter in EXT filesystem > + CONFIG_SYS_BOOTCOUNT_ADDR = RAM address used for read > + and write. > + CONFIG_SYS_BOOTCOUNT_EXT_INTERFACE = interface > + CONFIG_SYS_BOOTCOUNT_EXT_DEVPART = device and part > + CONFIG_SYS_BOOTCOUNT_EXT_NAME = filename > > - Show boot progress: > CONFIG_SHOW_BOOT_PROGRESS > diff --git a/drivers/Kconfig b/drivers/Kconfig > index 613e602..c2e813f 100644 > --- a/drivers/Kconfig > +++ b/drivers/Kconfig > @@ -10,6 +10,8 @@ source "drivers/ata/Kconfig" > > source "drivers/block/Kconfig" > > +source "drivers/bootcount/Kconfig" > + > source "drivers/clk/Kconfig" > > source "drivers/cpu/Kconfig" > diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig > new file mode 100644 > index 0000000..a261ec9 > --- /dev/null > +++ b/drivers/bootcount/Kconfig > @@ -0,0 +1,46 @@ > +# > +# Boot count configuration > +# > + > +menu "Boot count support" > + > +config BOOTCOUNT_EXT > + bool "Boot counter on EXT filesystem" > + help > + Add support for bootcounter on an EXT filesystem. > + > +if BOOTCOUNT_EXT
Can you add an entry for BOOTCOUNT itself please too? Yes, that would be a new symbol, but that will make the rest of the migrations easier I think. Thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

