summaryrefslogtreecommitdiff
path: root/include/configs/xupv2p.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-03-28 10:04:01 (GMT)
committerMichal Simek <monstr@monstr.eu>2008-04-08 13:38:14 (GMT)
commite5845e21224dbe2fe47b11f1cdf95de7f84be7cb (patch)
treee481f0fb7bb9d7893cc33b1de4145b44cbee3afa /include/configs/xupv2p.h
parent6bf3e982aefdb1daf9f5462d482c8f9d1cc90a57 (diff)
downloadu-boot-e5845e21224dbe2fe47b11f1cdf95de7f84be7cb.tar.xz
microblaze: ML401 and XUPV2P remove emac and emaclite reference
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include/configs/xupv2p.h')
-rw-r--r--include/configs/xupv2p.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/configs/xupv2p.h b/include/configs/xupv2p.h
index c9320c2..eef4f72 100644
--- a/include/configs/xupv2p.h
+++ b/include/configs/xupv2p.h
@@ -36,10 +36,6 @@
#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
*
@@ -51,6 +47,16 @@
*/
/* #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