mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
Migrate CONFIG_BOOTCOUNT_ALEN to Kconfig
Convert CONFIG_BOOTCOUNT_ALEN to Kconfig Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
This commit is contained in:
@ -64,7 +64,6 @@ config BOOTCOUNT_I2C
|
|||||||
CONFIG_SYS_I2C_RTC_ADDR = i2c chip address
|
CONFIG_SYS_I2C_RTC_ADDR = i2c chip address
|
||||||
CONFIG_SYS_BOOTCOUNT_ADDR = i2c addr which is used for
|
CONFIG_SYS_BOOTCOUNT_ADDR = i2c addr which is used for
|
||||||
the bootcounter.
|
the bootcounter.
|
||||||
CONFIG_BOOTCOUNT_ALEN = address len
|
|
||||||
|
|
||||||
config BOOTCOUNT_AT91
|
config BOOTCOUNT_AT91
|
||||||
bool "Boot counter for Atmel AT91SAM9XE"
|
bool "Boot counter for Atmel AT91SAM9XE"
|
||||||
@ -72,6 +71,14 @@ config BOOTCOUNT_AT91
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config BOOTCOUNT_ALEN
|
||||||
|
int "I2C address length"
|
||||||
|
default 1
|
||||||
|
depends on BOOTCOUNT_I2C
|
||||||
|
help
|
||||||
|
Length of the the I2C address at SYS_BOOTCOUNT_ADDR for storing
|
||||||
|
the boot counter.
|
||||||
|
|
||||||
config SYS_BOOTCOUNT_SINGLEWORD
|
config SYS_BOOTCOUNT_SINGLEWORD
|
||||||
bool "Use single word to pack boot count and magic value"
|
bool "Use single word to pack boot count and magic value"
|
||||||
depends on BOOTCOUNT_GENERIC
|
depends on BOOTCOUNT_GENERIC
|
||||||
|
@ -509,7 +509,6 @@
|
|||||||
#define CONFIG_MTD_PARTITIONS
|
#define CONFIG_MTD_PARTITIONS
|
||||||
|
|
||||||
/* bootcount support */
|
/* bootcount support */
|
||||||
#define CONFIG_BOOTCOUNT_ALEN 1
|
|
||||||
#define CONFIG_SYS_BOOTCOUNT_ADDR 0x9
|
#define CONFIG_SYS_BOOTCOUNT_ADDR 0x9
|
||||||
|
|
||||||
#define CONFIG_IMAGE_FORMAT_LEGACY
|
#define CONFIG_IMAGE_FORMAT_LEGACY
|
||||||
|
@ -145,7 +145,6 @@ CONFIG_BOARD_TAURUS
|
|||||||
CONFIG_BOARD_TYPES
|
CONFIG_BOARD_TYPES
|
||||||
CONFIG_BOOGER
|
CONFIG_BOOGER
|
||||||
CONFIG_BOOTBLOCK
|
CONFIG_BOOTBLOCK
|
||||||
CONFIG_BOOTCOUNT_ALEN
|
|
||||||
CONFIG_BOOTFILE
|
CONFIG_BOOTFILE
|
||||||
CONFIG_BOOTMAPSZ
|
CONFIG_BOOTMAPSZ
|
||||||
CONFIG_BOOTMODE
|
CONFIG_BOOTMODE
|
||||||
|
Reference in New Issue
Block a user