Pārlūkot izejas kodu

Add support for 2 x TSEC interfaces on the TQM8540 board.

wdenk 20 gadi atpakaļ
vecāks
revīzija
d44e14b5fc
2 mainītis faili ar 7 papildinājumiem un 2 dzēšanām
  1. 2 0
      CHANGELOG
  2. 5 2
      include/configs/TQM8540.h

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.3:
 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
 * On LWMON we must use the watchdog to reset the board as the CPU
   genereated HRESET pulse is too short to reset the external
   genereated HRESET pulse is too short to reset the external
   circuitry.
   circuitry.

+ 5 - 2
include/configs/TQM8540.h

@@ -279,7 +279,7 @@
 #endif
 #endif
 
 
 #define CONFIG_MII		1	/* MII PHY management */
 #define CONFIG_MII		1	/* MII PHY management */
-#undef CONFIG_MPC85XX_TSEC1
+#define CONFIG_MPC85XX_TSEC1	1
 #define CONFIG_MPC85XX_TSEC2	1
 #define CONFIG_MPC85XX_TSEC2	1
 #define TSEC1_PHY_ADDR		0
 #define TSEC1_PHY_ADDR		0
 #define TSEC2_PHY_ADDR		1
 #define TSEC2_PHY_ADDR		1
@@ -287,9 +287,12 @@
 #define TSEC2_PHYIDX		0
 #define TSEC2_PHYIDX		0
 
 
 #define CONFIG_MPC85XX_FEC	1
 #define CONFIG_MPC85XX_FEC	1
-#define FEC_PHY_ADDR		0
+#define FEC_PHY_ADDR		2
 #define FEC_PHYIDX		0
 #define FEC_PHYIDX		0
 
 
+#define CONFIG_HAS_ETH1
+#define CONFIG_HAS_ETH2
+
 #define CONFIG_ETHPRIME		"ENET1"
 #define CONFIG_ETHPRIME		"ENET1"
 
 
 #endif	/* CONFIG_TSEC_ENET */
 #endif	/* CONFIG_TSEC_ENET */