From 9304296044337353181742ca7b9827ca5d5ce9c2 Mon Sep 17 00:00:00 2001 From: Chandan Nath Date: Tue, 24 Jul 2012 12:22:20 +0000 Subject: 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 [Ilya: split board-specific part into separate patch] Signed-off-by: Ilya Yanok --- include/configs/am335x_evm.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'include/configs') 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 #include +#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 */ -- cgit v1.1