summaryrefslogtreecommitdiff
path: root/include/configs/ti_am335x_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-08-28 09:00:30 -0400
committerTom Rini <trini@ti.com>2013-11-01 15:30:32 -0400
commita1c143f4c8fae3f8cf9dfd39968dbc8a08f659ec (patch)
treeb8a4ba7ef52ee76b2cc5057df5f888145b009391 /include/configs/ti_am335x_common.h
parent22ee39750431c0695497ffab412bb29564c68a80 (diff)
downloadu-boot-imx-a1c143f4c8fae3f8cf9dfd39968dbc8a08f659ec.zip
u-boot-imx-a1c143f4c8fae3f8cf9dfd39968dbc8a08f659ec.tar.gz
u-boot-imx-a1c143f4c8fae3f8cf9dfd39968dbc8a08f659ec.tar.bz2
TI:am33xx: Add bootcount support to ti_am335x_common.h
Enable the bootcount driver for am335x in general. We leave adding a bootlimit and altbootcmd to the environment to the board ports. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/ti_am335x_common.h')
-rw-r--r--include/configs/ti_am335x_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h
index d2e34ae..03726f2 100644
--- a/include/configs/ti_am335x_common.h
+++ b/include/configs/ti_am335x_common.h
@@ -41,6 +41,13 @@
#define CONFIG_MII /* Required in net/eth.c */
/*
+ * RTC related defines. To use bootcount you must set bootlimit in the
+ * environment to a non-zero value.
+ */
+#define CONFIG_BOOTCOUNT_LIMIT
+#define CONFIG_SYS_BOOTCOUNT_ADDR 0x44E3E000
+
+/*
* SPL related defines. The Public RAM memory map the ROM defines the
* area between 0x402F0400 and 0x4030B800 as a download area and
* 0x4030B800 to 0x4030CE00 as a public stack area. The ROM also