]> git.sur5r.net Git - u-boot/blobdiff - include/commproc.h
* Patch by Andre Schwarz, 24 Nov 2003:
[u-boot] / include / commproc.h
index 652d2ab9138901fe37b738614fd1cfb9222203ca..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
@@ -707,10 +713,10 @@ typedef struct scc_enet {
 
 /***  FADS860T********************************************************/
 
-#if defined(CONFIG_MPC860T) && defined(CONFIG_FADS)
-/* This ENET stuff is for the MPC860TFADS with ethernet on SCC1.
+#if (defined(CONFIG_MPC860T) || defined(CONFIG_MPC866_et_al)) \
+    && defined(CONFIG_FADS)
+/* This ENET stuff is for the MPC860TFADS/MPC8xxADS with ethernet on SCC1.
  */
-
 #ifdef CONFIG_SCC1_ENET
 #define        SCC_ENET        0
 #endif /* CONFIG_SCC1_ETHERNET */