]> git.sur5r.net Git - u-boot/blobdiff - include/configs/ti_am335x_common.h
TI:am33xx: Add bootcount support to ti_am335x_common.h
[u-boot] / include / configs / ti_am335x_common.h
index d2e34aeed48142e0b086c834ce73ac70045afe4e..03726f257c715d9057cbeb29091c9c2f255b8c71 100644 (file)
 #define CONFIG_DRIVER_TI_CPSW          /* Driver for IP block */
 #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