#if defined(CONFIG_TQM823L) || \
defined(CONFIG_TQM850L) || \
- defined(CONFIG_ETX094) || \
- defined(CONFIG_LANTEC)
+ defined(CONFIG_ETX094)
/* Bits in parallel I/O port registers that have to be set/cleared
* to configure the pins for SCC2 use.
*/
*/
#define SICR_ENET_MASK ((uint)0x0000ff00)
#define SICR_ENET_CLKRT ((uint)0x00002600)
-#endif /* CONFIG_TQM823L, CONFIG_TQM850L, CONFIG_ETX094, CONFIG_LANTEC */
+#endif /* CONFIG_TQM823L, CONFIG_TQM850L, CONFIG_ETX094 */
/*** FPS850L *********************************************************/
#endif /* CONFIG_PCU_E */
+/*** LANTEC *********************************************************/
+
+#if defined(CONFIG_LANTEC)
+/* Bits in parallel I/O port registers that have to be set/cleared
+ * to configure the pins for SCC2 use.
+ */
+#define PROFF_ENET PROFF_SCC2
+#define CPM_CR_ENET CPM_CR_CH_SCC2
+#define SCC_ENET 1
+#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)0x0400) /* PA 5 */
+
+#define PB_ENET_TENA ((uint)0x00002000) /* PB 18 */
+
+#define PC_ENET_LBK ((ushort)0x0010) /* PC 11 */
+#define PC_ENET_CLSN ((ushort)0x0040) /* PC 9 */
+#define PC_ENET_RENA ((ushort)0x0080) /* PC 8 */
+
+/* Control bits in the SICR to route TCLK (CLK3) and RCLK (CLK2) to
+ * SCC2. Also, make sure GR2 (bit 16) and SC2 (bit 17) are zero.
+ */
+#define SICR_ENET_MASK ((uint)0x0000FF00)
+#define SICR_ENET_CLKRT ((uint)0x00002E00)
+#endif /* CONFIG_LANTEC */
+
/*** SXNI855T ******************************************************/
#if defined(CONFIG_SXNI855T)
CFG_CMD_LOADB)
#define CONFIG_CMD_NORMAL (CONFIG_CMD_DFL & ~CFG_CMD_BOOTD)
#define CONFIG_CMD_GDB (CONFIG_CMD_NORMAL | CFG_CMD_KGDB)
-#define CONFIG_CMD_FULL (CFG_CMD_ALL & ~CFG_CMD_NET \
+#define CONFIG_CMD_FULL (CFG_CMD_ALL & ~CFG_CMD_KGDB \
& ~CFG_CMD_PCMCIA \
& ~CFG_CMD_IDE \
& ~CFG_CMD_PCI \
& ~CFG_CMD_I2C \
& ~CFG_CMD_IRQ)
+#define CONFIG_RTC_MPC8xx /* use internal RTC of MPC8xx */
+
#define CONFIG_COMMANDS CONFIG_CMD_FULL
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */