]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/commproc.h
* Add support for log buffer which can be passed to Linux kernel's
[karo-tx-uboot.git] / include / commproc.h
index fb6ec007192d10a55cbbf56c0f7b24e72e32afce..6357fe3b664b5a250038855ff9b377945463f76f 100644 (file)
@@ -937,6 +937,37 @@ typedef struct scc_enet {
 
 #endif /* CONFIG_IVMS8, CONFIG_IVML24 */
 
+/***  KUP4K  *********************************************************/
+/* The KUP4K uses the FEC on a MPC855T for Ethernet */
+
+#if defined(CONFIG_KUP4K)
+
+#define        FEC_ENET        /* use FEC for EThernet */
+#undef SCC_ENET
+
+#define        PB_ENET_POWER   ((uint)0x00010000)      /* PB 15 */
+
+#define PC_ENET_RESET  ((ushort)0x0010)        /* PC 11 */
+
+#define PD_MII_TXD1    ((ushort)0x1000)        /* PD  3 */
+#define PD_MII_TXD2    ((ushort)0x0800)        /* PD  4 */
+#define PD_MII_TXD3    ((ushort)0x0400)        /* PD  5 */
+#define PD_MII_RX_DV   ((ushort)0x0200)        /* PD  6 */
+#define PD_MII_RX_ERR  ((ushort)0x0100)        /* PD  7 */
+#define PD_MII_RX_CLK  ((ushort)0x0080)        /* PD  8 */
+#define PD_MII_TXD0    ((ushort)0x0040)        /* PD  9 */
+#define PD_MII_RXD0    ((ushort)0x0020)        /* PD 10 */
+#define PD_MII_TX_ERR  ((ushort)0x0010)        /* PD 11 */
+#define PD_MII_MDC     ((ushort)0x0008)        /* PD 12 */
+#define PD_MII_RXD1    ((ushort)0x0004)        /* PD 13 */
+#define PD_MII_RXD2    ((ushort)0x0002)        /* PD 14 */
+#define PD_MII_RXD3    ((ushort)0x0001)        /* PD 15 */
+
+#define PD_MII_MASK    ((ushort)0x1FFF)        /* PD 3...15 */
+
+#endif /* CONFIG_KUP4K */
+
+
 /***  LANTEC  *********************************************************/
 
 #if defined(CONFIG_LANTEC) && CONFIG_LANTEC >= 2