]> www.infradead.org Git - users/rw/ppcboot.git/commitdiff
Fix the CLKRT setting for the FADS board. Specifically for the FADS850SAR,
authorhydra <hydra>
Wed, 4 Oct 2000 14:48:30 +0000 (14:48 +0000)
committerhydra <hydra>
Wed, 4 Oct 2000 14:48:30 +0000 (14:48 +0000)
but I think this is a general FADS850 setting (or any mpc where the ethernet
runs on scc2).
Also, add some commentary to the defines for the various port line settings.

include/commproc.h

index 800be99a156f66a8c8c3c5a23f843f80bed18cb8..48376390a6dcb2d502e880db404baac2829c05ec 100644 (file)
@@ -437,16 +437,16 @@ typedef struct scc_enet {
 #define        PROFF_ENET      PROFF_SCC2
 #define        CPM_CR_ENET     CPM_CR_CH_SCC2
 #define        SCC_ENET        1
-#define PA_ENET_RXD            ((ushort)0x0004)
-#define PA_ENET_TXD            ((ushort)0x0008)
-#define PA_ENET_RCLK   ((ushort)0x0200)
-#define PA_ENET_TCLK   ((ushort)0x0800)
-#define PB_ENET_TENA   ((uint)0x00002000)
-#define PC_ENET_CLSN   ((ushort)0x0040)
-#define PC_ENET_RENA   ((ushort)0x0080)
+#define PA_ENET_RXD            ((ushort)0x0004)        /* PA 13 */
+#define PA_ENET_TXD            ((ushort)0x0008)        /* PA 12 */
+#define PA_ENET_RCLK   ((ushort)0x0200)        /* PA 6 */
+#define PA_ENET_TCLK   ((ushort)0x0800)        /* PA 4 */
+#define PB_ENET_TENA   ((uint)0x00002000)      /* PB 18 */
+#define PC_ENET_CLSN   ((ushort)0x0040)        /* PC 9 */
+#define PC_ENET_RENA   ((ushort)0x0080)        /* PC 8 */
 
 #define SICR_ENET_MASK ((uint)0x0000ff00)
-#define SICR_ENET_CLKRT        ((uint)0x00003d00)
+#define SICR_ENET_CLKRT        ((uint)0x00002f00)      /* RCLK-CLK2, TCLK-CLK4 */
 #endif /* CONFIG_FADS850SAR */
 
 /***  BSEIP  **********************************************************/