]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_BOOTCOUNT_EXT to Kconfig
authorAlex Kiernan <alex.kiernan@gmail.com>
Fri, 16 Feb 2018 15:50:44 +0000 (15:50 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 24 Feb 2018 13:43:42 +0000 (08:43 -0500)
This converts the following to Kconfig:
  CONFIG_BOOTCOUNT_EXT

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
README
configs/ge_b450v3_defconfig
configs/ge_b650v3_defconfig
configs/ge_b850v3_defconfig
include/configs/ge_bx50v3.h

diff --git a/README b/README
index a59f0531e4e28d09199472da4799072233376ede..4b2e97652e5b7aa6165c97fdec06548d687af65d 100644 (file)
--- a/README
+++ b/README
@@ -2270,13 +2270,6 @@ The following options need to be configured:
 - bootcount support:
                CONFIG_AT91SAM9XE
                enable special bootcounter support on at91sam9xe based boards.
-               CONFIG_BOOTCOUNT_EXT
-               enable support for the bootcounter in EXT filesystem
-                       CONFIG_SYS_BOOTCOUNT_ADDR = RAM address used for read
-                                                    and write.
-                       CONFIG_SYS_BOOTCOUNT_EXT_INTERFACE = interface
-                       CONFIG_SYS_BOOTCOUNT_EXT_DEVPART = device and part
-                       CONFIG_SYS_BOOTCOUNT_EXT_NAME = filename
 
 - Show boot progress:
                CONFIG_SHOW_BOOT_PROGRESS
index 2e28f89efe7cbda48c8a459b4c5200c468c7c6d0..ee1cc432e0e08e895377fd221dca1445f59f627c 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_BOOTCOUNT_LIMIT=y
+CONFIG_BOOTCOUNT_EXT=y
+CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="1:5"
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_NETDEVICES=y
index 610de32e7b874719659110a0c82f3e690c642f4a..27a89b0be782ae684f681f62df135e44466eb329 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_BOOTCOUNT_LIMIT=y
+CONFIG_BOOTCOUNT_EXT=y
+CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="1:5"
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_NETDEVICES=y
index 3e9c9bdfc8df91f0b8c5c1f53bd9f48e34a0cabd..af4ba97543315cf046da2724cc8e605679718051 100644 (file)
@@ -27,6 +27,8 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_BOOTCOUNT_LIMIT=y
+CONFIG_BOOTCOUNT_EXT=y
+CONFIG_SYS_BOOTCOUNT_EXT_DEVPART="1:5"
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_NETDEVICES=y
index 110933f68807199c3fb00dd28bfffaa92e9e135d..e4673d812dc21df461cd59470c09c2fd7679cdc1 100644 (file)
 
 #define CONFIG_BCH
 
-#define CONFIG_BOOTCOUNT_EXT
-#define CONFIG_SYS_BOOTCOUNT_EXT_INTERFACE     "mmc"
-#define CONFIG_SYS_BOOTCOUNT_EXT_DEVPART       "1:5"
-#define CONFIG_SYS_BOOTCOUNT_EXT_NAME          "/boot/failures"
 #define CONFIG_SYS_BOOTCOUNT_ADDR              0x7000A000
 
 #endif /* __GE_BX50V3_CONFIG_H */