summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorChandan Nath <chandan.nath@ti.com>2012-07-24 12:22:20 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:11 +0200
commit9304296044337353181742ca7b9827ca5d5ce9c2 (patch)
tree15d9fb00e351de090ccdaba5828c1e31acb186a0 /include/configs
parentc59a6a0dacd4061e9cba6efe6c8fcc99370a74b6 (diff)
downloadu-boot-imx-9304296044337353181742ca7b9827ca5d5ce9c2.zip
u-boot-imx-9304296044337353181742ca7b9827ca5d5ce9c2.tar.gz
u-boot-imx-9304296044337353181742ca7b9827ca5d5ce9c2.tar.bz2
am335x_evm: CPSW support
This patch adds board-specific initialization for CPSW on TI AM335X based boards. Tested on BeagleBone. Signed-off-by: Chandan Nath <chandan.nath@ti.com> [Ilya: split board-specific part into separate patch] Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/am335x_evm.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 2b41c1c..2a3251b 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -21,11 +21,13 @@
#undef CONFIG_GZIP
#undef CONFIG_ZLIB
#undef CONFIG_SYS_HUSH_PARSER
-#undef CONFIG_CMD_NET
#include <asm/arch/cpu.h>
#include <asm/arch/hardware.h>
+#define CONFIG_DMA_COHERENT
+#define CONFIG_DMA_COHERENT_SIZE (1 << 20)
+
#define CONFIG_ENV_SIZE 0x400
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (8 * 1024))
#define CONFIG_SYS_PROMPT "U-Boot# "
@@ -168,4 +170,20 @@
/* Unsupported features */
#undef CONFIG_USE_IRQ
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_PING
+#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
+
#endif /* ! __CONFIG_AM335X_EVM_H */