summaryrefslogtreecommitdiff
path: root/include/configs/ml401.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-03-28 11:04:01 +0100
committerMichal Simek <monstr@monstr.eu>2008-04-08 15:38:14 +0200
commite5845e21224dbe2fe47b11f1cdf95de7f84be7cb (patch)
treee481f0fb7bb9d7893cc33b1de4145b44cbee3afa /include/configs/ml401.h
parent6bf3e982aefdb1daf9f5462d482c8f9d1cc90a57 (diff)
downloadu-boot-imx-e5845e21224dbe2fe47b11f1cdf95de7f84be7cb.zip
u-boot-imx-e5845e21224dbe2fe47b11f1cdf95de7f84be7cb.tar.gz
u-boot-imx-e5845e21224dbe2fe47b11f1cdf95de7f84be7cb.tar.bz2
microblaze: ML401 and XUPV2P remove emac and emaclite reference
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include/configs/ml401.h')
-rw-r--r--include/configs/ml401.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/ml401.h b/include/configs/ml401.h
index b320438..6db1c1a 100644
--- a/include/configs/ml401.h
+++ b/include/configs/ml401.h
@@ -41,8 +41,14 @@
/*#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