summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2005-07-25 12:14:54 -0500
committerJon Loeliger <jdl@freescale.com>2005-07-25 12:14:54 -0500
commit288693abe1f7c23e69479fd85c2c0d8d7fdbf8f2 (patch)
tree0b8a3eb93848338e184e6c1386c3590762328fa4 /include
parent7202d43ddea00e8186ea18bb85d6efb5c0525623 (diff)
downloadu-boot-imx-288693abe1f7c23e69479fd85c2c0d8d7fdbf8f2.zip
u-boot-imx-288693abe1f7c23e69479fd85c2c0d8d7fdbf8f2.tar.gz
u-boot-imx-288693abe1f7c23e69479fd85c2c0d8d7fdbf8f2.tar.bz2
* Patch by Jon Loeliger, 2005-Feb-10
Add config option CONFIG_HAS_FEC calling out 8540 FEC features.
Diffstat (limited to 'include')
-rw-r--r--include/configs/MPC8540ADS.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index 1c11c6f..533b587 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -41,6 +41,10 @@
#define CONFIG_MPC8540 1 /* MPC8540 specific */
#define CONFIG_MPC8540ADS 1 /* MPC8540ADS board specific */
+#ifndef CONFIG_HAS_FEC
+#define CONFIG_HAS_FEC 1 /* 8540 has FEC */
+#endif
+
#define CONFIG_PCI
#define CONFIG_TSEC_ENET /* tsec ethernet support */
#define CONFIG_ENV_OVERWRITE
@@ -344,9 +348,12 @@
#define TSEC1_PHYIDX 0
#define TSEC2_PHYIDX 0
+
+#if CONFIG_HAS_FEC
#define CONFIG_MPC85XX_FEC 1
#define FEC_PHY_ADDR 3
#define FEC_PHYIDX 0
+#endif
#define CONFIG_ETHPRIME "MOTO ENET0"