]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: capricorn: Convert CONFIG_BOOTCOUNT_ENV et al to Kconfig
authorTom Rini <trini@konsulko.com>
Tue, 16 Jun 2020 23:06:15 +0000 (19:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 26 Jun 2020 14:29:05 +0000 (10:29 -0400)
This converts the following to Kconfig:
   CONFIG_BOOTCOUNT_ENV
   CONFIG_BOOTCOUNT_LIMIT

Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
configs/deneb_defconfig
configs/giedi_defconfig
include/configs/capricorn-common.h

index 31a68f82402506701271dcc0df63e53151b50dfd..5377b4fed5135e0870039120864865e2d8f29289 100644 (file)
@@ -62,6 +62,8 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
+CONFIG_BOOTCOUNT_LIMIT=y
+CONFIG_BOOTCOUNT_ENV=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_IMX8=y
 CONFIG_CPU=y
index 5dd34227af0128ffa70129c70586000ed323effb..dfac924bbb08a0960d259e25e24e4968e77be5cd 100644 (file)
@@ -62,6 +62,8 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
+CONFIG_BOOTCOUNT_LIMIT=y
+CONFIG_BOOTCOUNT_ENV=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_IMX8=y
 CONFIG_CPU=y
index c2e9d0f11f9c5eb487d43565d36ad103b3e00511..b107e0ce3f96a4b5dd2229b1db944744d06bc384 100644 (file)
 #define CONFIG_SYS_LOAD_ADDR           CONFIG_LOADADDR
 #define CONFIG_SYS_INIT_SP_ADDR                0x80200000
 
-#define CONFIG_BOOTCOUNT_LIMIT
-#define CONFIG_BOOTCOUNT_ENV
-
 /* Environment organisation */
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_SYS_MMC_ENV_DEV         0       /* USDHC1, eMMC */