summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-06-16 20:23:39 +0530
committerTom Rini <trini@konsulko.com>2015-06-19 16:46:49 -0400
commitf4787eab135d31a097a0ec6fbf0b4876d548bf60 (patch)
tree6c63175aeef88216cc4fa24a00675703480fabb2 /include/configs
parentaee119bd70b8200739182f9abcdb4b7b634b73c2 (diff)
downloadu-boot-imx-f4787eab135d31a097a0ec6fbf0b4876d548bf60.zip
u-boot-imx-f4787eab135d31a097a0ec6fbf0b4876d548bf60.tar.gz
u-boot-imx-f4787eab135d31a097a0ec6fbf0b4876d548bf60.tar.bz2
am43xx_evm: add eth boot support
add cpsw ethernet boot mode support to download spl and u-boot.img via tftp protocol. Also adding a seperate config for ethernet boot mode as the default build falcon mode and environment on MMC is defined for ethernet boot mode environment should be set to nowhere. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/am43xx_evm.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index e1cd7a8..0526bd4 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -317,11 +317,11 @@
#endif
+#ifndef CONFIG_SPL_BUILD
/* CPSW Ethernet */
#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
@@ -331,13 +331,20 @@
#define CONFIG_BOOTP_SUBNETMASK
#define CONFIG_NET_RETRY_COUNT 10
#define CONFIG_PHY_GIGE
+#endif
+
+#define CONFIG_DRIVER_TI_CPSW
#define CONFIG_PHYLIB
#define CONFIG_SPL_ENV_SUPPORT
#define CONFIG_SPL_NET_VCI_STRING "AM43xx U-Boot SPL"
-#define CONFIG_SPL_ETH_SUPPORT
+#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_ETH_SUPPORT)
+#undef CONFIG_ENV_IS_IN_FAT
+#define CONFIG_ENV_IS_NOWHERE
#define CONFIG_SPL_NET_SUPPORT
+#endif
+
#define CONFIG_SYS_RX_ETH_BUFFER 64
/* NAND support */