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

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

Comments

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

Patch

diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
index 0a0c261..ea862fd 100644
--- a/include/configs/am3517_crane.h
+++ b/include/configs/am3517_crane.h
@@ -161,8 +161,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.
  */