Patchwork [U-Boot,7/7] ARM: DRA7xx: Enable CPSW Ethernet support

login
register
mail settings
Submitter Mugunthan V N
Date July 8, 2013, 10:34 a.m.
Message ID <1373279683-12421-8-git-send-email-mugunthanvnm@ti.com>
Download mbox | patch
Permalink /patch/257520/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Mugunthan V N - July 8, 2013, 10:34 a.m.
Enabling CPSW Ethernet support in DRA7xx EVM.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
 include/configs/dra7xx_evm.h |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Patch

diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index c11f005..ed3aa43 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -44,4 +44,23 @@ 
 
 #define CONSOLEDEV		"ttyO0"
 
+/* CPSW Ethernet */
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_MII
+#define CONFIG_DRIVER_TI_CPSW
+#define CONFIG_MII
+#define CONFIG_BOOTP_DEFAULT
+#define CONFIG_BOOTP_DNS
+#define CONFIG_BOOTP_DNS2
+#define CONFIG_BOOTP_SEND_HOSTNAME
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_NET_RETRY_COUNT         10
+#define CONFIG_NET_MULTI
+#define CONFIG_PHY_GIGE
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_ADDR			2
+
 #endif /* __CONFIG_DRA7XX_EVM_H */