]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig
authorLukasz Majewski <lukma@denx.de>
Fri, 9 Feb 2018 22:50:57 +0000 (23:50 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 15 Feb 2018 12:20:53 +0000 (07:20 -0500)
This converts the following to Kconfig:
   CONFIG_BOOTCOUNT_LIMIT

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Acked-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
80 files changed:
README
configs/am335x_baltos_defconfig
configs/am335x_boneblack_defconfig
configs/am335x_boneblack_vboot_defconfig
configs/am335x_evm_defconfig
configs/am335x_evm_nor_defconfig
configs/am335x_evm_spiboot_defconfig
configs/am335x_evm_usbspl_defconfig
configs/am335x_hs_evm_defconfig
configs/am335x_hs_evm_uart_defconfig
configs/am335x_sl50_defconfig
configs/birdland_bav335a_defconfig
configs/birdland_bav335b_defconfig
configs/brppt1_mmc_defconfig
configs/brppt1_nand_defconfig
configs/brppt1_spi_defconfig
configs/calimain_defconfig
configs/chiliboard_defconfig
configs/dh_imx6_defconfig
configs/draco_defconfig
configs/etamin_defconfig
configs/ge_b450v3_defconfig
configs/ge_b650v3_defconfig
configs/ge_b850v3_defconfig
configs/highbank_defconfig
configs/ids8313_defconfig
configs/km_kirkwood_128m16_defconfig
configs/km_kirkwood_defconfig
configs/km_kirkwood_pci_defconfig
configs/kmcoge4_defconfig
configs/kmcoge5ne_defconfig
configs/kmcoge5un_defconfig
configs/kmeter1_defconfig
configs/kmlion1_defconfig
configs/kmnusa_defconfig
configs/kmopti2_defconfig
configs/kmsugp1_defconfig
configs/kmsupx5_defconfig
configs/kmsuv31_defconfig
configs/kmtegr1_defconfig
configs/kmtepr2_defconfig
configs/kmvect1_defconfig
configs/mgcoge3un_defconfig
configs/mx53ppd_defconfig
configs/portl2_defconfig
configs/pxm2_defconfig
configs/rastaban_defconfig
configs/rut_defconfig
configs/socfpga_is1_defconfig
configs/socfpga_sr1500_defconfig
configs/suvd3_defconfig
configs/theadorable_debug_defconfig
configs/thuban_defconfig
configs/tqma6s_wru4_mmc_defconfig
configs/tuge1_defconfig
configs/tuxx1_defconfig
configs/x600_defconfig
drivers/bootcount/Kconfig
include/configs/am335x_evm.h
include/configs/am335x_sl50.h
include/configs/baltos.h
include/configs/bav335x.h
include/configs/brppt1.h
include/configs/calimain.h
include/configs/chiliboard.h
include/configs/cm_t335.h
include/configs/dh_imx6.h
include/configs/ge_bx50v3.h
include/configs/highbank.h
include/configs/ids8313.h
include/configs/km/keymile-common.h
include/configs/km/km-powerpc.h
include/configs/km/kmp204x-common.h
include/configs/mx53ppd.h
include/configs/siemens-am33x-common.h
include/configs/socfpga_is1.h
include/configs/socfpga_sr1500.h
include/configs/theadorable.h
include/configs/tqma6_wru4.h
include/configs/x600.h

diff --git a/README b/README
index 91caea5fb267f6e9fac34dbbb30a58eecb8aafb4..fabd532623924bbdf1a32d471b8862e5e5c2e36c 100644 (file)
--- a/README
+++ b/README
@@ -714,11 +714,6 @@ The following options need to be configured:
                RAM and NFS.
 
 - Bootcount:
-               CONFIG_BOOTCOUNT_LIMIT
-               Implements a mechanism for detecting a repeating reboot
-               cycle, see:
-               http://www.denx.de/wiki/view/DULG/UBootBootCountLimit
-
                CONFIG_BOOTCOUNT_ENV
                If no softreset save registers are found on the hardware
                "bootcount" is stored in the environment. To prevent a
@@ -2323,11 +2318,6 @@ The following options need to be configured:
                but sometimes that is not allowed.
 
 - bootcount support:
-               CONFIG_BOOTCOUNT_LIMIT
-
-               This enables the bootcounter support, see:
-               http://www.denx.de/wiki/DULG/UBootBootCountLimit
-
                CONFIG_AT91SAM9XE
                enable special bootcounter support on at91sam9xe based boards.
                CONFIG_SOC_DA8XX
index 97e600138c70411babd48319ef6a653bf21cb363..5fd118cde00ce73591fc86ae0115d0f6f7550145 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),-(UBI)"
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_SYS_OMAP24_I2C_SPEED=1000
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index f14333d7f4716b5ff7b3c6510c97a654674b6f3b..ed430e713099c3df5af158bcab247e3bc8ac3153 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_ENV_IS_IN_MMC=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_TFTP=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
index 016ec4edded0e8c2cbcd6f7f6eee711beaee04bc..df73f65209bbb33cd07b4a71e41147fb60f5c3d9 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_CMD_SPL=y
 CONFIG_OF_CONTROL=y
 CONFIG_ENV_IS_IN_MMC=y
 # CONFIG_BLK is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DM_I2C=y
index 10b66e976ee93eaa848c2a0b198894d59a06ee41..60120bf163debcab37b3957454cf3dafe3a80dae 100644 (file)
@@ -27,6 +27,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),1
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
 # CONFIG_BLK is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
index 14aa2679d156a0b14cf1f16e4a9a86be20162008..6598879f073ac0ef40586520a8755b7bdec1ba29 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)"
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
index 71d6a287795e51849fb297b1ddbbb42aca24b008..079f69d919b70a82d866c008b379e223d8971989 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nor0=m25p80-flash.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=m25p80-flash.0:128k(SPL),512k(u-boot),128k(u-boot-env1),128k(u-boot-env2),3464k(kernel),-(rootfs)"
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_MMC_OMAP_HS=y
index 10d6d385dec3dbe94af469f403e0fb88898356a9..5afc7407d075cb089bee39b15b1aaf47a1512bad 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)"
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
index 55565f4d3bfc2e44f04930670b8cf148c7ef049f..b953a5c684c83327a6e0965600be98427a8a9ef1 100644 (file)
@@ -33,6 +33,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),1
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
 # CONFIG_BLK is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
index 7f05d56743e31f0d140aa9e14d4d4e64b8c08e01..1fc496e04e3dc9cf63638af6c6d48afbd452eac6 100644 (file)
@@ -31,6 +31,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),1
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
 # CONFIG_BLK is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
index ef27addb751584d1a9dffa60d7f038921ae7a7eb..cd1b78e3c1ffa881393ab4ec0b07197196419c5f 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_CMD_SPI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_ENV_IS_IN_MMC=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
index d6d5d712e9d2837bc36a4b6bcd714c68f5282ac7..83828be57407bc6fbfb0ea73baf1aa0f4b247784 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_MMC_OMAP_HS=y
index 0c145953dbecd738d92efe69519a9eb41ec78da0..74f237d5ec5cf2fb8398a6db404f07c0014a2fca 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_MMC_OMAP_HS=y
index ace6279bf119025bd9e458b449a8cc9d4a28ad92..e6b0dc559986a96f54a272010eee0205bedc7740 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_NETCONSOLE=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_PHYLIB=y
 CONFIG_SYS_NS16550=y
index 80664cefd37e6b9d7459ddf479ce0c5683887ebb..24779cec37cfc12638af6244870a7d4f530953ba 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(MLO),128k(MLO.backup),128k(dtb),128k(u-boot-env),512k(u-boot),4m(kernel),128m(rootfs),-(user)"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_NETCONSOLE=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_NAND=y
 CONFIG_PHYLIB=y
index d1256e6aca87e255505949d7a823a692a4e0d318..47fda899d54d2d1da3e1b605550200d762d7a3b4 100644 (file)
@@ -55,6 +55,7 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_MTDPARTS=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_NETCONSOLE=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 50a41b5822a0593865d34f735d3e32ba35778922..fe65f36814290311118e9373f053b0de967ef051 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DIAG=y
 CONFIG_ENV_IS_IN_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
index a32dab7b511f9dc65f521a78db736a5a6b056b6d..efe7a435efac826d82944af43ce5297130bff5c5 100644 (file)
@@ -37,6 +37,7 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=8000000.nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=8000000.nand:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)"
 CONFIG_ENV_IS_IN_MMC=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DM_GPIO=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index 9fbc47ebdfb7d03f1f1b47d50d9067ede5247419..f8ff0f2e26b3459f43a5bc646a2bb5612c264095 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_DWC_AHSATA=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_PHYLIB=y
index 5444260b19b08b11254970fee71df1f56b5704c0..693d91c10eca07bedc5f88f0c7c2ce22c43775f6 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_NAND=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index 608faf66ec64abb45792c9af3906fe1391dac472..e7a3d2210c12f760360ec4e4f97358787b4db536 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_NAND=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index 855e423bde7090bf3934f594aed46ae96fe8e5c1..a5beefea4c701eebfa70572ff61aead4bcc03b2b 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_NETDEVICES=y
index 6d111155517b53cf31f134104d12b3b0a5a43785..cbf83b1a2c63401a6d99d410256f0742b53bb1eb 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_NETDEVICES=y
index 12fdb3d56621ede25b2d61df74fa20f5bf4f45f3..953681f3915abd74ff8d8d297c3aa6319a2a4674 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_NETDEVICES=y
index 35c75cb1fddbdfb87ae589b129ca05e4b28dc9a4..ec7bc8eadc4af634d8bfe49b3c84cab9390e0639 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 CONFIG_ENV_IS_IN_NVRAM=y
 CONFIG_SCSI_AHCI=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SCSI=y
 CONFIG_OF_LIBFDT=y
index ab4493d3e32d325602d3d80b6b5735bf26ef804d..b7547581925e921319113cf8de7e61d84dd15ae9 100644 (file)
@@ -29,6 +29,7 @@ CONFIG_CMD_JFFS2=y
 CONFIG_MTDIDS_DEFAULT="nor0=ff800000.flash,nand0=e1000000.flash"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=ff800000.flash:7m(dum),768k(BOOT-BIN),128k(BOOT-ENV),128k(BOOT-REDENV);e1000000.flash:-(ubi)"
 CONFIG_CMD_UBI=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_PHYLIB=y
index 96349e13ce0ddf8bc87dc9589b89d64244b8ed38..54c22a7a34f44a96dd5ca561f555086e359ad3cb 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_EEPROM=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 2fe005839689017c02c6792d0886509a95c15258..20ea24b0e81ea0919319cefe55a1c1f92c5cccac 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_EEPROM=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 7504cbc2e3d4e6192b490625f4a397916d0bab53..402610cfcb03633b8aef1f175e2b3529c4e6d841 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_EEPROM=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 7906474e818eefb30d417fe1658176fd8164c98c..9db7750f7dc8e22b9cc3484175d829ce5c119f68 100644 (file)
@@ -31,6 +31,7 @@ CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index afe5ae4533ab7c70287033ed5b77106ac77c4bd3..853b746c215b5439472881eccb01fea297b59ab2 100644 (file)
@@ -24,6 +24,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot,nand0=app"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);app:-(ubi1);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index a905434b8de73afb63e322e78d2152cfd3aaa8f0..72aee0468a731e230de7d4b908d3e1ee59fbb12b 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 70186baf28fbb24647a0df9bd1b3953c8098a3d4..e8889f199f8d1fefef84a0f958689b2ea1d1160e 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index 1a7d311ea88b364fa7948a316d46fa8d925eed4e..bedea17c8d93213b8f6c6545683daba7d9183a86 100644 (file)
@@ -31,6 +31,7 @@ CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_DOS_PARTITION=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 9bd8688fbbcc596b2a4ac918ec8a74e6ff06e0da..ac82780d0ff113ad2a010d5a57efd5a8ddf86160 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 772a60d3080520af8b74e7af9f82f789be22c389..f87dc0ccdffa8e817002ed4bfb0c84a7efba4174 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index 3d592bcd8a1b8fd85bcb42d015bd8940c92acae2..af2c93e3fc08753990333b26b980886dcb0bd7db 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 2c4cacb5f58f81f95ef61757f273cf98dd777b78..9f52470e4588ea8568da521cb5de792924f2aaa6 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index 8eee1592585416ea4d8930bd52c352396a8bef20..09d75ab9ab9b359c525353cce0b4e871dd51fd47 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index 9021034b6a1488831fffc3b7c762e49d176c3d0e..a757cd79f060de49499822ed270938d34092c972 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),256k(qe-fw),128k(env),128k(e
 CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index 092da61e121e0e5cfa7a845ee87d6915b347ac2e..7d7ca9b76836581fb4f804f3c803af65608de80e 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index 94c49a21dc01e329e0f1ce8b892ace806b511540..8900d759896ff6d6d69b723975292af82e23a1a9 100644 (file)
@@ -24,6 +24,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi
 CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index 21bccf310650fb3fc187951ddf62f47ebf0d52cd..3e90e70d6d15967f32dc7201cf7e86973943c67d 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_EEPROM=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index ef61f147bc36b0adcc37cac7a0100bce4d0c2847..90df425b08e8655bcc775e321d8aca5d4e80fa96 100644 (file)
@@ -22,6 +22,7 @@ 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_NETDEVICES=y
index a745574d923593ec00d35043c0a585de6709809f..1c6dad96e0502e30e64462b30bdc48ca2c0e97f6 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
 CONFIG_ENV_IS_IN_EEPROM=y
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index f68230079f1519d2d79fec06fe1a4cb11db395a0..606325927a1fcdacf5634b02fe93030f7210ec60 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_NAND=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index c714b07f344642e44be93b85dc0f7c6400e9ec7a..ce6981e0003e5728ae1ec640ae7d6196fb396e51 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_NAND=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index 2269747ec3381186c73f97299fc6b9171257dfc6..b31eb9767ce5838453fdd6383e54594c3d510bdb 100644 (file)
@@ -55,6 +55,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_NAND=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index 08628ab2bdf8d6162609ae3eb61560ffab06ab5d..baa6368b70974fd4b70ea1e050ea9e6ebc5fb3ed 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_FPGA_SOCFPGA=y
 CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
index f9ed1a33f5f465b2c148b6cff9be3dcb858e68b2..cca14f2c582a267147751948f1b73e1b67a4e0c5 100644 (file)
@@ -45,6 +45,7 @@ CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_FPGA_SOCFPGA=y
 CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
index a200080ceaaf5fff5a6fb0b394ff53a1955d5a6b..88c2e09835dc6caa0cf8fe76a9fc9a3dbddea4da 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index cb88ac6f6050a3a2b736f8b276118b31192c5103..aa6e5e11ef9952607a3bc3137379ed28d15fcdde 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_EFI_PARTITION=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_SATA_MV=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_FPGA_ALTERA=y
 CONFIG_DM_GPIO=y
 # CONFIG_MMC is not set
index df76145d5b59a3655dde04cf59773e8c05136ed5..4a3c0cd377358c7df12cdc042afc67069c905581 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_DFU_NAND=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
index 9c1bced00d53051f104bf2666978a46cde1ca0ba..3f38cdef0a67794ee1f56ca30471bef8f9e457fa 100644 (file)
@@ -32,6 +32,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ENV_IS_IN_MMC=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS0=y
 CONFIG_LED_STATUS_BIT=0
index 54ae1d714184f10ef665d2efc8f6bdedab1d93cf..6785dbff513ec8519de59e9ad9471ec1deb68a77 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index e9c59900e0b20e264e142ddf06ba3da0f4603ecf..4d1fd2a58dc980965328f24a0a83b49acaf7e7e0 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MTDIDS_DEFAULT="nor0=boot"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
 CONFIG_CMD_UBI=y
 # CONFIG_CMD_UBIFS is not set
+CONFIG_BOOTCOUNT_LIMIT=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
index b7d8de7d160bd9e77a6bc321dbfdac407414ead7..d1711e01fd45ceb80c9958c5768dcabda2d7086b 100644 (file)
@@ -37,6 +37,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:64M(ubi0),64M(ubi1)"
 CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_FLASH=y
+CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_FPGA_XILINX=y
 CONFIG_SYS_I2C_DW=y
 # CONFIG_MMC is not set
index c9d627cce2ba47eb9562f118b3326a83113421ec..cb6be73d522114ec1e0a8959e08be64efa7e5501 100644 (file)
@@ -11,6 +11,12 @@ config BOOTCOUNT
          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
+         Enable checking for exceeding the boot count limit.
+         More information: http://www.denx.de/wiki/DULG/UBootBootCountLimit
+
 if BOOTCOUNT
 
 config BOOTCOUNT_EXT
index 28a3d9758a48c81eafc46056c86c1c494f2e497b..2e1dbf6c01d831f0265d65339e35d9f20a1433d3 100644 (file)
 /* SPL */
 #ifndef CONFIG_NOR_BOOT
 /* Bootcount using the RTC block */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_AM33XX
 #define CONFIG_SYS_BOOTCOUNT_BE
 
index b1c7ede7df0f255c9b14c2ab682a31fd49c3e6bb..1cb35782541ccfe96314d54eda6b427ebaacc2e2 100644 (file)
@@ -74,7 +74,6 @@
 /* SPL */
 
 /* Bootcount using the RTC block */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_AM33XX
 #define CONFIG_SYS_BOOTCOUNT_BE
 
index 75dd0c5e2671480c3efaae1f486d9ba0f7c6a8f4..440dbf5367343d202f9b96ad976eed494853808e 100644 (file)
 /* SPL */
 #ifndef CONFIG_NOR_BOOT
 /* Bootcount using the RTC block */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_AM33XX
 
 /* USB gadget RNDIS */
index 7e256b1380ec7601fee3848e31ff20900e0988fc..5ea7658b527ca2afab3c18657b658983b07ce000 100644 (file)
@@ -339,7 +339,6 @@ DEFAULT_LINUX_BOOT_ENV \
 /* SPL */
 #ifndef CONFIG_NOR_BOOT
 /* Bootcount using the RTC block */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_AM33XX
 #define CONFIG_SYS_BOOTCOUNT_BE
 
index a8022b87d53f14786e0e3d8fa2c0b53563ab742d..fb2845fb5d0dc4a7b60ff687281ae32e311680f5 100644 (file)
@@ -22,7 +22,6 @@
 
 /* Bootcount using the RTC block */
 #define CONFIG_SYS_BOOTCOUNT_ADDR      0x44E3E000
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_AM33XX
 
 /* memory */
index 81f9ad1a57c77e9b3f808d8afc4e300910e14c9b..4c476179eb0156b56f82544c19bea7752052a635 100644 (file)
 /* initial stack pointer in internal SRAM */
 #define CONFIG_SYS_INIT_SP_ADDR                (0x8001ff00)
 
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_SYS_BOOTCOUNT_LE                /* Use little-endian accessors */
 #define CONFIG_SYS_BOOTCOUNT_ADDR      DAVINCI_RTC_BASE
 
index 89740ba1e092c78ca39b893bf7ba68a0e2b8f58e..234cd6a4f674dc9405e8a6e7b992d357f7ca5793 100644 (file)
 
 /* SPL */
 /* Bootcount using the RTC block */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_AM33XX
 #define CONFIG_SYS_BOOTCOUNT_BE
 
index d6ebdcd6007157627ee22f58fdbe383c29370a0b..bd41a566411c7ecd599a4768f38cf82f0aebdd02 100644 (file)
@@ -16,7 +16,6 @@
 #include <configs/ti_am335x_common.h>
 
 #undef CONFIG_SPI
-#undef CONFIG_BOOTCOUNT_LIMIT
 #undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 
 #undef CONFIG_MAX_RAM_BANK_SIZE
index 82bc511f6d14273a86fb81da088bcbc87cbf7068..464b8d72f488f62c2553b11d051ea23d95f67c2b 100644 (file)
@@ -47,7 +47,6 @@
 #define CONFIG_SYS_MALLOC_LEN          (4 * SZ_1M)
 
 /* Bootcounter */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_SYS_BOOTCOUNT_ADDR      IRAM_BASE_ADDR
 #define CONFIG_SYS_BOOTCOUNT_BE
 
index f1c3a51b208269fae7e49bbebda925ce3628e5ed..8dc0a7f4c72e017f4f96041e4a432b496f19c490 100644 (file)
 
 #define CONFIG_BCH
 
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_EXT
 #define CONFIG_SYS_BOOTCOUNT_EXT_INTERFACE     "mmc"
 #define CONFIG_SYS_BOOTCOUNT_EXT_DEVPART       "1:5"
index 8931517e5907c86dd6ad082abb326ddac5f8fb74..b84b277a0dc7e4e4939829d9df5dedcff923b379 100644 (file)
@@ -26,7 +26,6 @@
 #define CONFIG_PL01x_PORTS             { (void *)(0xFFF36000) }
 #define CONFIG_CONS_INDEX              0
 
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_SYS_BOOTCOUNT_SINGLEWORD
 #define CONFIG_SYS_BOOTCOUNT_LE                /* Use little-endian accessors */
 #define CONFIG_SYS_BOOTCOUNT_ADDR      0xfff3cf0c
index 0b5b4a5c75f0c2682355dd27962f64893b503f21..628e0a25a8396e68d3c92d1b0988151e07e0a73b 100644 (file)
 #define CONFIG_MTD_PARTITIONS
 
 /* bootcount support */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_I2C
 #define CONFIG_BOOTCOUNT_ALEN  1
 #define CONFIG_SYS_BOOTCOUNT_ADDR      0x9
index 4d9a133dd4a4cd209f373e31d338834d359a83eb..740202b69b2f4e4324750c4c8c0776d84f96e023 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef __CONFIG_KEYMILE_H
 #define __CONFIG_KEYMILE_H
 
-#define CONFIG_BOOTCOUNT_LIMIT
-
 #undef CONFIG_WATCHDOG         /* disable platform specific watchdog */
 
 /*
index 0d50538a8e3879636ba7c0fe0cdd9a6f485f6ff9..64c1d2ff7e9a8e5a977b38c67e1c846c7a156a56 100644 (file)
@@ -12,8 +12,6 @@
 #define CONFIG_BOARD_EARLY_INIT_R
 #define CONFIG_LAST_STAGE_INIT
 
-#define CONFIG_BOOTCOUNT_LIMIT
-
 #define CONFIG_JFFS2_CMDLINE
 
 /* standard km ethernet_present for piggy */
index 1960d17a3f0c4e58a41afc88a4f134e01544c2f8..7f735e0ac67ec2105d125262c3cbeaeb09915454 100644 (file)
@@ -189,7 +189,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_OR1_PRELIM  CONFIG_SYS_QRIO_OR_PRELIM /* QRIO Options */
 
 /* bootcounter in QRIO */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_SYS_BOOTCOUNT_ADDR      (CONFIG_SYS_QRIO_BASE + 0x20)
 
 #define CONFIG_BOARD_EARLY_INIT_R      /* call board_early_init_r function */
index d0848254d6a18890af978e60fee088a31d24cbc3..79c97b5aa3c4152f39abfc89583d689677f57c63 100644 (file)
 
 #define CONFIG_BCH
 
-#define CONFIG_BOOTCOUNT_LIMIT
-
 /* Backlight Control */
 #define CONFIG_PWM_IMX
 #define CONFIG_IMX6_PWM_PER_CLK 66666000
index 467c5e8d8d7eb33bca881ca8f7f5f03c2d135cc0..d308b0e408614685a95fc240cbf264ae0023d9a8 100644 (file)
 #define CONFIG_RESET_TO_RETRY
 #define CONFIG_BOOT_RETRY_TIME 60
 
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_ENV
 
 #endif /* ! __CONFIG_SIEMENS_AM33X_COMMON_H */
index 46f5f135dd5d9a0df7fcc25f9b4bf38fce61a942..883ffb76f3eccc5a0ecf63fbff4e6346493f3285 100644 (file)
@@ -32,7 +32,6 @@
 /*
  * Bootcounter
  */
-#define CONFIG_BOOTCOUNT_LIMIT
 /* last 2 lwords in OCRAM */
 #define CONFIG_SYS_BOOTCOUNT_ADDR       0xfffffff8
 #define CONFIG_SYS_BOOTCOUNT_BE
index 39bf612291f46e42676b28d59d7020c19a74802f..8c9069c923ded146e344d20fb39a296ed8dc001a 100644 (file)
@@ -31,7 +31,6 @@
 /*
  * Bootcounter
  */
-#define CONFIG_BOOTCOUNT_LIMIT
 /* last 2 lwords in OCRAM */
 #define CONFIG_SYS_BOOTCOUNT_ADDR      0xfffffff8
 #define CONFIG_SYS_BOOTCOUNT_BE
index 85f8133eec7a356983d4a1ad0b6f5727d0000b29..a213e7e0a2ec5eba0920df4f9915fefd464eccbd 100644 (file)
@@ -82,7 +82,6 @@
 /*
  * Bootcounter
  */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_BOOTCOUNT_RAM
 /* Max size of RAM minus BOOTCOUNT_ADDR is the bootcounter address */
 #define BOOTCOUNT_ADDR                 0x1000
index cb0b9ee489fdcce405fa0fa5984ef25b9003d3bf..d94f790148dc509289f68c641d1a3b5bcb6c7c70 100644 (file)
@@ -34,7 +34,6 @@
 /* LED */
 
 /* Bootcounter */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_SYS_BOOTCOUNT_ADDR      IRAM_BASE_ADDR
 #define CONFIG_SYS_BOOTCOUNT_BE
 
index 7ecfc1eb0450fd9ceb514dcb0d08412dbb088bc0..3f637612241192e4a23ad4f0885d4b5b87aaf46b 100644 (file)
 #define CONFIG_SYS_LOAD_ADDR                   0x00800000
 
 /* Use last 2 lwords in internal SRAM for bootcounter */
-#define CONFIG_BOOTCOUNT_LIMIT
 #define CONFIG_SYS_BOOTCOUNT_ADDR              (CONFIG_SRAM_BASE + \
                                                 CONFIG_SRAM_SIZE)