mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-03 18:10:42 +09: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
@ -119,6 +119,14 @@
|
|||||||
#define CONFIG_FPGA_ALTERA
|
#define CONFIG_FPGA_ALTERA
|
||||||
#define CONFIG_FPGA_STRATIX_V
|
#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
|
* mv-common.h should be defined after CMD configs since it used them
|
||||||
* to enable certain macros
|
* to enable certain macros
|
||||||
|
Loading…
Reference in New Issue
Block a user