]> git.sur5r.net Git - u-boot/blobdiff - include/commproc.h
Add configuration for wtk board
[u-boot] / include / commproc.h
index 68452483513fb7876219a47346383819ecb597c3..63dcc4c9a3dcdf03c6195a6d404af7fc8d4ab0b8 100644 (file)
 #define CPM_POST_WORD_ADDR     CFG_CPM_POST_WORD_ADDR
 #endif
 
+#ifndef CFG_CPM_BOOTCOUNT_ADDR
+#define CPM_BOOTCOUNT_ADDR     (CPM_POST_WORD_ADDR - 2*sizeof(ulong))
+#else
+#define CPM_BOOTCOUNT_ADDR     CFG_CPM_BOOTCOUNT_ADDR
+#endif
+
 #define BD_IIC_START   ((uint) 0x0400) /* <- please use CPM_I2C_BASE !! */
 
 /* Export the base address of the communication processor registers