mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
arm: mvebu: theadorable: Add bootcounter support
This patch adds bootcount support to the MVEBU theadorable board. Since no reset-safe registers seem to be available, it uses the last 4KiB of SDRAM for the bootcounter location. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
ced0d849d8
commit
28226b9a2c
1 changed files with 8 additions and 0 deletions
|
@ -119,6 +119,14 @@
|
|||
#define CONFIG_FPGA_ALTERA
|
||||
#define CONFIG_FPGA_STRATIX_V
|
||||
|
||||
/*
|
||||
* Bootcounter
|
||||
*/
|
||||
#define CONFIG_BOOTCOUNT_LIMIT
|
||||
#define CONFIG_BOOTCOUNT_RAM
|
||||
/* Max size of RAM minus BOOTCOUNT_ADDR is the bootcounter address */
|
||||
#define BOOTCOUNT_ADDR 0x1000
|
||||
|
||||
/*
|
||||
* mv-common.h should be defined after CMD configs since it used them
|
||||
* to enable certain macros
|
||||
|
|
Loading…
Reference in a new issue