Add support for 2 x TSEC interfaces on the TQM8540 board.
diff --git a/CHANGELOG b/CHANGELOG
index dbede26..d2cdd8d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
Changes for U-Boot 1.1.3:
======================================================================
+* Add support for 2 x TSEC interfaces on the TQM8540 board.
+
* On LWMON we must use the watchdog to reset the board as the CPU
genereated HRESET pulse is too short to reset the external
circuitry.
diff --git a/include/configs/TQM8540.h b/include/configs/TQM8540.h
index d28d2f3..9dc77c4 100644
--- a/include/configs/TQM8540.h
+++ b/include/configs/TQM8540.h
@@ -279,7 +279,7 @@
#endif
#define CONFIG_MII 1 /* MII PHY management */
-#undef CONFIG_MPC85XX_TSEC1
+#define CONFIG_MPC85XX_TSEC1 1
#define CONFIG_MPC85XX_TSEC2 1
#define TSEC1_PHY_ADDR 0
#define TSEC2_PHY_ADDR 1
@@ -287,9 +287,12 @@
#define TSEC2_PHYIDX 0
#define CONFIG_MPC85XX_FEC 1
-#define FEC_PHY_ADDR 0
+#define FEC_PHY_ADDR 2
#define FEC_PHYIDX 0
+#define CONFIG_HAS_ETH1
+#define CONFIG_HAS_ETH2
+
#define CONFIG_ETHPRIME "ENET1"
#endif /* CONFIG_TSEC_ENET */