]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/bootcount/Kconfig
Convert CONFIG_BOOTCOUNT_AM33XX to Kconfig
[people/ms/u-boot.git] / drivers / bootcount / Kconfig
index 26fec899bba2dace7ef08a2e8986a8e5a5c443c4..e905295d4537f9a8e7f47088bd911b92698cfe8f 100644 (file)
@@ -12,6 +12,7 @@ if BOOTCOUNT_LIMIT
 
 choice
        prompt "Boot count device"
+       default BOOTCOUNT_AM33XX if AM33XX || SOC_DA8XX
 
 config BOOTCOUNT_EXT
        bool "Boot counter on EXT filesystem"
@@ -19,6 +20,14 @@ config BOOTCOUNT_EXT
          Add support for maintaining boot count in a file on an EXT
          filesystem.
 
+config BOOTCOUNT_AM33XX
+       bool "Boot counter in AM33XX RTC IP block"
+       depends on AM33XX || SOC_DA8XX
+       help
+         A bootcount driver for the RTC IP block found on many TI platforms.
+         This requires the RTC clocks, etc, to be enabled prior to use and
+         not all boards with this IP block on it will have the RTC in use.
+
 endchoice
 
 config SYS_BOOTCOUNT_SINGLEWORD