summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-02-01 16:57:54 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-28 23:31:20 +0200
commit877012df309329a9264e6e9558d4f71bfa0cddbe (patch)
tree8ed4bc8971b0c4d6c293d415351d325725f25cc9 /include
parent7b81649a053826dc31804d3260a44ff599a9542a (diff)
downloadu-boot-imx-877012df309329a9264e6e9558d4f71bfa0cddbe.zip
u-boot-imx-877012df309329a9264e6e9558d4f71bfa0cddbe.tar.gz
u-boot-imx-877012df309329a9264e6e9558d4f71bfa0cddbe.tar.bz2
ARM: highbank: Add boot counter support
Add boot counter support using an sysreg which is persistent across reset. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/highbank.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/highbank.h b/include/configs/highbank.h
index e717273..801f4ae 100644
--- a/include/configs/highbank.h
+++ b/include/configs/highbank.h
@@ -41,6 +41,9 @@
#define CONFIG_BAUDRATE 38400
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
+#define CONFIG_BOOTCOUNT_LIMIT
+#define CONFIG_SYS_BOOTCOUNT_ADDR 0xfff3cf0c
+
#define CONFIG_MISC_INIT_R
#define CONFIG_SCSI_AHCI
#define CONFIG_SCSI_AHCI_PLAT