]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
Merge CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT
authorAlex Kiernan <alex.kiernan@gmail.com>
Fri, 16 Feb 2018 15:50:38 +0000 (15:50 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 24 Feb 2018 13:43:11 +0000 (08:43 -0500)
CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with
CONFIG_BOOTCOUNT_LIMIT

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Ian Ray <ian.ray@ge.com>
configs/mx53ppd_defconfig
drivers/bootcount/Kconfig
scripts/config_whitelist.txt

index d321a777b00f320653986e346299ff30085201ca..8fb512651f5a3f8a4ef8a8c91eac89ad0eecbddb 100644 (file)
@@ -22,7 +22,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
-CONFIG_BOOTCOUNT=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_EXT=y
 CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="0:5"
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_EXT=y
 CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="0:5"
index d82289f57b7ae5cf67160ad6e74924d78a212d7e..da2ccabf2860021c9d3180311eb918dc801eb0f9 100644 (file)
@@ -4,13 +4,6 @@
 
 menu "Boot count support"
 
 
 menu "Boot count support"
 
-config BOOTCOUNT
-       bool "Enable Boot count support"
-       help
-         Enable boot count support, which provides the ability to store the
-         number of times the board has booted on a number of different
-         persistent storage mediums.
-
 config BOOTCOUNT_LIMIT
        bool "Enable support for checking boot count limit"
        help
 config BOOTCOUNT_LIMIT
        bool "Enable support for checking boot count limit"
        help
@@ -23,7 +16,7 @@ config SYS_BOOTCOUNT_SINGLEWORD
          This option enables packing boot count magic value and boot count
          into single word (32 bits).
 
          This option enables packing boot count magic value and boot count
          into single word (32 bits).
 
-if BOOTCOUNT
+if BOOTCOUNT_LIMIT
 
 config BOOTCOUNT_EXT
        bool "Boot counter on EXT filesystem"
 
 config BOOTCOUNT_EXT
        bool "Boot counter on EXT filesystem"
index e8f7c4c66a483883a89ca61a4e60c1dd037ed409..b24bd7c6cf04b6e78a461ce1605d33f371554539 100644 (file)
@@ -149,7 +149,6 @@ CONFIG_BOOTCOUNT_ALEN
 CONFIG_BOOTCOUNT_AM33XX
 CONFIG_BOOTCOUNT_ENV
 CONFIG_BOOTCOUNT_I2C
 CONFIG_BOOTCOUNT_AM33XX
 CONFIG_BOOTCOUNT_ENV
 CONFIG_BOOTCOUNT_I2C
-CONFIG_BOOTCOUNT_LIMIT
 CONFIG_BOOTCOUNT_RAM
 CONFIG_BOOTFILE
 CONFIG_BOOTMAPSZ
 CONFIG_BOOTCOUNT_RAM
 CONFIG_BOOTFILE
 CONFIG_BOOTMAPSZ