summaryrefslogtreecommitdiff
path: root/include/commproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commproc.h')
-rw-r--r--include/commproc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commproc.h b/include/commproc.h
index 684524835..63dcc4c9a 100644
--- a/include/commproc.h
+++ b/include/commproc.h
@@ -83,6 +83,12 @@
#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