summaryrefslogtreecommitdiff
path: root/include/configs/MPC8568MDS.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2007-08-15 20:03:25 -0500
committerWolfgang Denk <wd@denx.de>2007-08-16 12:12:49 +0200
commit3a79013e2adda53332dfd0b511066a805e929a9d (patch)
treef5b68229e996f7be5b0fb4bcc5dca1cc593b3f70 /include/configs/MPC8568MDS.h
parentec7238229507e7f47533a611ea8c53319d234cf3 (diff)
downloadu-boot-imx-3a79013e2adda53332dfd0b511066a805e929a9d.zip
u-boot-imx-3a79013e2adda53332dfd0b511066a805e929a9d.tar.gz
u-boot-imx-3a79013e2adda53332dfd0b511066a805e929a9d.tar.bz2
Define tsec flag values in config files
The tsec_info structure and array has a "flags" field for each ethernet controller. This field is the only reason there are settings. Switch to defining TSECn_FLAGS for each controller in the config header, and we can greatly simplify the array, and also simplify the addition of future boards. Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/configs/MPC8568MDS.h')
-rw-r--r--include/configs/MPC8568MDS.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index dc9cb1f..6b824ed 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -399,9 +399,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2 1
#define CONFIG_TSEC2_NAME "eTSEC1"
-#undef CONFIG_TSEC3
-#undef CONFIG_TSEC4
-#undef CONFIG_MPC85XX_FEC
#define TSEC1_PHY_ADDR 2
#define TSEC2_PHY_ADDR 3
@@ -409,6 +406,9 @@ extern unsigned long get_clock_freq(void);
#define TSEC1_PHYIDX 0
#define TSEC2_PHYIDX 0
+#define TSEC1_FLAGS TSEC_GIGABIT
+#define TSEC2_FLAGS TSEC_GIGABIT
+
/* Options are: eTSEC[0-3] */
#define CONFIG_ETHPRIME "eTSEC0"