microblaze: ML401 and XUPV2P remove emac and emaclite reference
authorMichal Simek <monstr@monstr.eu>
Fri, 28 Mar 2008 10:04:01 +0000 (11:04 +0100)
committerMichal Simek <monstr@monstr.eu>
Tue, 8 Apr 2008 13:38:14 +0000 (15:38 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/ml401.h
include/configs/xupv2p.h

index b32043850e617bb5bab5ea44ed0f996da3652059..6db1c1a8310003a620a059c120114acb5c7b59d2 100644 (file)
 /*#define      CFG_RESET_ADDRESS       TEXT_BASE*/
 
 /* ethernet */
-#define CONFIG_EMACLITE                1
-#define XPAR_EMAC_0_DEVICE_ID  XPAR_OPB_ETHERNET_0_DEVICE_ID
+#ifdef XILINX_EMAC_BASEADDR
+#define CONFIG_XILINX_EMAC     1
+#else
+#ifdef XILINX_EMACLITE_BASEADDR
+#define CONFIG_XILINX_EMACLITE 1
+#endif
+#endif
+#undef ET_DEBUG
 
 /* gpio */
 #define        CFG_GPIO_0              1
index c9320c287c2273e6608150cbd8f216214070450f..eef4f72e28e45aa6d94801cdac980489e825db48 100644 (file)
 #define        CONFIG_BAUDRATE         XILINX_UART_BAUDRATE
 #define        CFG_BAUDRATE_TABLE      { CONFIG_BAUDRATE }
 
-/* ethernet */
-#define CONFIG_EMAC    1
-#define XPAR_EMAC_0_DEVICE_ID  XPAR_XEMAC_NUM_INSTANCES
-
 /*
  * setting reset address
  *
  */
 /* #define     CFG_RESET_ADDRESS       0x36000000 */
 
+/* ethernet */
+#ifdef XILINX_EMAC_BASEADDR
+#define CONFIG_XILINX_EMAC     1
+#else
+#ifdef XILINX_EMACLITE_BASEADDR
+#define CONFIG_XILINX_EMACLITE 1
+#endif
+#endif
+#undef ET_DEBUG
+
 /* gpio */
 #ifdef XILINX_GPIO_BASEADDR
 #define        CFG_GPIO_0              1