mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig
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>
This commit is contained in:
committed by
Tom Rini
parent
0c502b6c17
commit
d1ec9461f2
@@ -180,7 +180,6 @@
|
||||
/* SPL */
|
||||
#ifndef CONFIG_NOR_BOOT
|
||||
/* Bootcount using the RTC block */
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
#define CONFIG_BOOTCOUNT_AM33XX
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
|
||||
@@ -74,7 +74,6 @@
|
||||
/* SPL */
|
||||
|
||||
/* Bootcount using the RTC block */
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
#define CONFIG_BOOTCOUNT_AM33XX
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
|
||||
@@ -231,7 +231,6 @@
|
||||
/* SPL */
|
||||
#ifndef CONFIG_NOR_BOOT
|
||||
/* Bootcount using the RTC block */
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
#define CONFIG_BOOTCOUNT_AM33XX
|
||||
|
||||
/* USB gadget RNDIS */
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
/* Bootcount using the RTC block */
|
||||
#define CONFIG_SYS_BOOTCOUNT_ADDR 0x44E3E000
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
#define CONFIG_BOOTCOUNT_AM33XX
|
||||
|
||||
/* memory */
|
||||
|
||||
@@ -277,7 +277,6 @@
|
||||
/* 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
|
||||
|
||||
|
||||
@@ -123,7 +123,6 @@
|
||||
|
||||
/* SPL */
|
||||
/* Bootcount using the RTC block */
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
#define CONFIG_BOOTCOUNT_AM33XX
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -267,7 +267,6 @@
|
||||
|
||||
#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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -515,7 +515,6 @@
|
||||
#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
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
#ifndef __CONFIG_KEYMILE_H
|
||||
#define __CONFIG_KEYMILE_H
|
||||
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
|
||||
#undef CONFIG_WATCHDOG /* disable platform specific watchdog */
|
||||
|
||||
/*
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -232,8 +232,6 @@
|
||||
|
||||
#define CONFIG_BCH
|
||||
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
|
||||
/* Backlight Control */
|
||||
#define CONFIG_PWM_IMX
|
||||
#define CONFIG_IMX6_PWM_PER_CLK 66666000
|
||||
|
||||
@@ -498,7 +498,6 @@
|
||||
#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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
/* LED */
|
||||
|
||||
/* Bootcounter */
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
#define CONFIG_SYS_BOOTCOUNT_ADDR IRAM_BASE_ADDR
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
|
||||
@@ -120,7 +120,6 @@
|
||||
#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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user