mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
Integrate AT91 bootcount driver
Integrate Boot counter for Atmel AT91SAM9XE into Kconfig Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
This commit is contained in:
4
README
4
README
@ -2267,10 +2267,6 @@ The following options need to be configured:
|
|||||||
A better solution is to properly configure the firewall,
|
A better solution is to properly configure the firewall,
|
||||||
but sometimes that is not allowed.
|
but sometimes that is not allowed.
|
||||||
|
|
||||||
- bootcount support:
|
|
||||||
CONFIG_AT91SAM9XE
|
|
||||||
enable special bootcounter support on at91sam9xe based boards.
|
|
||||||
|
|
||||||
- Show boot progress:
|
- Show boot progress:
|
||||||
CONFIG_SHOW_BOOT_PROGRESS
|
CONFIG_SHOW_BOOT_PROGRESS
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ if BOOTCOUNT_LIMIT
|
|||||||
choice
|
choice
|
||||||
prompt "Boot count device"
|
prompt "Boot count device"
|
||||||
default BOOTCOUNT_AM33XX if AM33XX || SOC_DA8XX
|
default BOOTCOUNT_AM33XX if AM33XX || SOC_DA8XX
|
||||||
|
default BOOTCOUNT_AT91 if AT91SAM9XE
|
||||||
|
|
||||||
config BOOTCOUNT_EXT
|
config BOOTCOUNT_EXT
|
||||||
bool "Boot counter on EXT filesystem"
|
bool "Boot counter on EXT filesystem"
|
||||||
@ -55,6 +56,10 @@ config BOOTCOUNT_I2C
|
|||||||
the bootcounter.
|
the bootcounter.
|
||||||
CONFIG_BOOTCOUNT_ALEN = address len
|
CONFIG_BOOTCOUNT_ALEN = address len
|
||||||
|
|
||||||
|
config BOOTCOUNT_AT91
|
||||||
|
bool "Boot counter for Atmel AT91SAM9XE"
|
||||||
|
depends on AT91SAM9XE
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config SYS_BOOTCOUNT_SINGLEWORD
|
config SYS_BOOTCOUNT_SINGLEWORD
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
obj-y += bootcount.o
|
obj-y += bootcount.o
|
||||||
obj-$(CONFIG_AT91SAM9XE) += bootcount_at91.o
|
obj-$(CONFIG_BOOTCOUNT_AT91) += bootcount_at91.o
|
||||||
obj-$(CONFIG_BOOTCOUNT_AM33XX) += bootcount_davinci.o
|
obj-$(CONFIG_BOOTCOUNT_AM33XX) += bootcount_davinci.o
|
||||||
obj-$(CONFIG_BOOTCOUNT_RAM) += bootcount_ram.o
|
obj-$(CONFIG_BOOTCOUNT_RAM) += bootcount_ram.o
|
||||||
obj-$(CONFIG_BOOTCOUNT_ENV) += bootcount_env.o
|
obj-$(CONFIG_BOOTCOUNT_ENV) += bootcount_env.o
|
||||||
|
Reference in New Issue
Block a user