bootcount: add uclass for bootcount
[oweals/u-boot.git] / drivers / bootcount / Kconfig
index 67033637c0d6bcf5bd01c96c5e8a81f8d66d418e..46571eb322930bcd28852cb16488f8b7fe53640a 100644 (file)
@@ -70,6 +70,14 @@ config BOOTCOUNT_AT91
        bool "Boot counter for Atmel AT91SAM9XE"
        depends on AT91SAM9XE
 
+config DM_BOOTCOUNT
+        bool "Boot counter in a device-model device"
+       help
+         Enables reading/writing the bootcount in a device-model based
+         backing store.  If an entry in /chosen/u-boot,bootcount-device
+         exists, this will be the preferred bootcount device; otherwise
+         the first available bootcount device will be used.
+
 endchoice
 
 config BOOTCOUNT_BOOTLIMIT