From c50b21b70523939c561d0455a2c423f63a9162ca Mon Sep 17 00:00:00 2001 From: Nandor Han Date: Thu, 10 Jun 2021 15:40:38 +0300 Subject: bootcount: add a new driver with syscon as backend The driver will use a syscon regmap as backend and supports both 16 and 32 size value. The value will be stored in the CPU's endianness. Signed-off-by: Nandor Han Reviewed-by: Simon Glass --- configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/sandbox_defconfig') diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 952d430..4658f18 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -131,6 +131,7 @@ CONFIG_AXI=y CONFIG_AXI_SANDBOX=y CONFIG_BOOTCOUNT_LIMIT=y CONFIG_DM_BOOTCOUNT=y +CONFIG_DM_BOOTCOUNT_SYSCON=y CONFIG_DM_BOOTCOUNT_RTC=y CONFIG_DM_BOOTCOUNT_I2C_EEPROM=y CONFIG_BUTTON=y -- cgit v1.1