summaryrefslogtreecommitdiff
path: root/include/configs/cm_t3517.h
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2014-11-03 11:32:26 +0200
committerTom Rini <trini@ti.com>2014-11-06 11:04:41 -0500
commita8a78c74506454cc4a82493776e8b82eec56a755 (patch)
tree01a3bd3f77d9e2d794b10963426fb9de5547aa21 /include/configs/cm_t3517.h
parent011f5c13f8b6734b0e34b016842a8b93b6902d30 (diff)
omap3: cm-t3517: add Ethernet support
Add both EMAC and SMC911x support. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/cm_t3517.h')
-rw-r--r--include/configs/cm_t3517.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index 046649db97..e623aac7f5 100644
--- a/include/configs/cm_t3517.h
+++ b/include/configs/cm_t3517.h
@@ -132,6 +132,8 @@
#define CONFIG_CMD_I2C /* I2C serial bus support */
#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_NAND /* NAND support */
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_PING
#define CONFIG_CMD_GPIO
#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */
@@ -267,6 +269,15 @@
#define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET
#define CONFIG_ENV_ADDR SMNAND_ENV_OFFSET
+#if defined(CONFIG_CMD_NET)
+#define CONFIG_DRIVER_TI_EMAC
+#define CONFIG_DRIVER_TI_EMAC_USE_RMII
+#define CONFIG_MII
+#define CONFIG_SMC911X
+#define CONFIG_SMC911X_32_BIT
+#define CONFIG_SMC911X_BASE (0x2C000000 + (16 << 20))
+#endif /* CONFIG_CMD_NET */
+
/* additions for new relocation code, must be added to all boards */
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
#define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800