aboutsummaryrefslogtreecommitdiff
path: root/drivers/bootcount/Kconfig
diff options
context:
space:
mode:
authorPhilip Oberfichtner <pro@denx.de>2022-03-18 12:04:38 +0100
committerTom Rini <trini@konsulko.com>2022-03-25 16:42:40 -0400
commitc537a36839964b66b6c56c7488c3809763de5a16 (patch)
treec2c71e583e290554d85fbb0baffe50d3c90ba948 /drivers/bootcount/Kconfig
parenta194d59eec96f9fcad433a5035273d62ce2997af (diff)
downloadu-boot-c537a36839964b66b6c56c7488c3809763de5a16.zip
u-boot-c537a36839964b66b6c56c7488c3809763de5a16.tar.gz
u-boot-c537a36839964b66b6c56c7488c3809763de5a16.tar.bz2
bootcount: Add pmic pfuze100 bootcount driver
Use the MEMA - MEMD registers on the PFUZE100 as bootcount registers. Based on work from Heiko Schocher <hs@denx.de>. Signed-off-by: Philip Oberfichtner <pro@denx.de>
Diffstat (limited to 'drivers/bootcount/Kconfig')
-rw-r--r--drivers/bootcount/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
index 607027c..509d01d 100644
--- a/drivers/bootcount/Kconfig
+++ b/drivers/bootcount/Kconfig
@@ -127,6 +127,13 @@ config DM_BOOTCOUNT_I2C_EEPROM
pointing to the underlying i2c eeprom device) and an optional 'offset'
property are supported.
+config DM_BOOTCOUNT_PMIC_PFUZE100
+ bool "Enable Bootcount driver for PMIC PFUZE100"
+ depends on DM_PMIC_PFUZE100
+ help
+ Enable support for the bootcounter using PMIC PFUZE100 registers.
+ This works only, if the PMIC is not connected.
+
config DM_BOOTCOUNT_SPI_FLASH
bool "Support SPI flash devices as a backing store for bootcount"
depends on DM_SPI_FLASH