summaryrefslogtreecommitdiff
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
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.
-rw-r--r--CHANGELOG3
-rw-r--r--include/configs/MPC8540ADS.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 985f5f0..39166f8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
======================================================================
Changes for U-Boot 1.1.3:
======================================================================
+* Patch by Jon Loeliger, 2005-Feb-10
+ Add config option CONFIG_HAS_FEC calling out 8540 FEC features.
+
* Patch by Jon Loeliger, Kumar Gala, 2005-02-08
For MPC85xxCDS:
Adds Relaxed Timing TRLX bit to FLASH ORx regs to allow
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"