Patchwork [U-Boot,7/8] AM3517 EVM: Enable ethernet

login
register
mail settings
Submitter Tom Rini
Date Dec. 6, 2011, 3:49 p.m.
Message ID <1323186582-2811-8-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/129720/
State Deferred
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - Dec. 6, 2011, 3:49 p.m.
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am3517_evm.h |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

Patch

diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 8eb693a..ed6a143 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -158,8 +158,18 @@ 
 #define CONFIG_SYS_I2C_BUS_SELECT	1
 #define CONFIG_DRIVER_OMAP34XX_I2C	1
 
-#undef CONFIG_CMD_NET
-#undef CONFIG_CMD_NFS
+/*
+ * Ethernet
+ */
+#define CONFIG_DRIVER_TI_EMAC
+#define CONFIG_DRIVER_TI_EMAC_USE_RMII
+#define CONFIG_MII
+#define CONFIG_BOOTP_DEFAULT
+#define CONFIG_BOOTP_DNS
+#define CONFIG_BOOTP_DNS2
+#define CONFIG_BOOTP_SEND_HOSTNAME
+#define CONFIG_NET_RETRY_COUNT		10
+
 /*
  * Board NAND Info.
  */