summaryrefslogtreecommitdiff
path: root/include/configs/sbc8560.h
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2008-07-11 15:33:03 -0400
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-07-14 19:34:10 -0500
commit6de5bf24004c8d9c9b070bb8f7418d1c45e5eb27 (patch)
tree8f98ac31e3bcd3b1e378bb797ed816a26caae077 /include/configs/sbc8560.h
parent71074abbe0c76429577aff58aeff0a24ad210b23 (diff)
downloadu-boot-imx-6de5bf24004c8d9c9b070bb8f7418d1c45e5eb27.zip
u-boot-imx-6de5bf24004c8d9c9b070bb8f7418d1c45e5eb27.tar.gz
u-boot-imx-6de5bf24004c8d9c9b070bb8f7418d1c45e5eb27.tar.bz2
sbc8560: proper definitions for TSEC.
The definitions for the TSEC have become out of date. There is no longer any such options like "CONFIG_MPC85xx_TSEC1" or similar. Update to match those of other boards, like the MPC8560ADS. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Acked-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/configs/sbc8560.h')
-rw-r--r--include/configs/sbc8560.h32
1 files changed, 22 insertions, 10 deletions
diff --git a/include/configs/sbc8560.h b/include/configs/sbc8560.h
index 146eafe..f07fbc0 100644
--- a/include/configs/sbc8560.h
+++ b/include/configs/sbc8560.h
@@ -215,16 +215,28 @@
#define CFG_PCI_MEM_PHYS 0xC0000000
#define CFG_PCI_MEM_SIZE 0x10000000
-#if defined(CONFIG_TSEC_ENET) /* TSEC Ethernet port */
-
-# define CONFIG_NET_MULTI 1
-# define CONFIG_MII 1 /* MII PHY management */
-# define CONFIG_MPC85xx_TSEC1
-# define CONFIG_MPC85xx_TSEC1_NAME "TSEC0"
-# define TSEC1_PHY_ADDR 25
-# define TSEC1_PHYIDX 0
-/* Options are: TSEC0 */
-# define CONFIG_ETHPRIME "TSEC0"
+#ifdef CONFIG_TSEC_ENET
+
+#ifndef CONFIG_NET_MULTI
+#define CONFIG_NET_MULTI 1
+#endif
+
+#ifndef CONFIG_MII
+#define CONFIG_MII 1 /* MII PHY management */
+#endif
+#define CONFIG_TSEC1 1
+#define CONFIG_TSEC1_NAME "TSEC0"
+#define CONFIG_TSEC2 1
+#define CONFIG_TSEC2_NAME "TSEC1"
+#define TSEC1_PHY_ADDR 0x19
+#define TSEC2_PHY_ADDR 0x1a
+#define TSEC1_PHYIDX 0
+#define TSEC2_PHYIDX 0
+#define TSEC1_FLAGS TSEC_GIGABIT
+#define TSEC2_FLAGS TSEC_GIGABIT
+
+/* Options are: TSEC[0-1] */
+#define CONFIG_ETHPRIME "TSEC0"
#elif defined(CONFIG_ETHER_ON_FCC) /* CPM FCC Ethernet */