summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2014-02-18 07:31:58 -0500
committerTom Rini <trini@ti.com>2014-03-04 09:42:07 -0500
commit3a3939bf3d216900486748ffc330a33d565c242b (patch)
treebaa3b12c3f970dd1cb6127cdd7a43878c1639717
parente27f2dd721d8121177cb32a63684557fa625d4bf (diff)
downloadu-boot-imx-3a3939bf3d216900486748ffc330a33d565c242b.zip
u-boot-imx-3a3939bf3d216900486748ffc330a33d565c242b.tar.gz
u-boot-imx-3a3939bf3d216900486748ffc330a33d565c242b.tar.bz2
ARM: AM43xx: Add Ethernet boot support to SPL
Add Ethernet Boot support to SPL Acked-by: Tom Rini <trini@ti.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
-rw-r--r--board/ti/am43xx/board.c2
-rw-r--r--include/configs/am43xx_evm.h10
2 files changed, 8 insertions, 4 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index 7a28063..d744977 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -24,9 +24,7 @@
DECLARE_GLOBAL_DATA_PTR;
-#ifndef CONFIG_SPL_BUILD
static struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE;
-#endif
/*
* Read header information from EEPROM into global structure.
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index aff17ee..614857d 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -204,6 +204,8 @@
"run mmcboot;" \
"run usbboot;"
+#endif
+
/* CPSW Ethernet */
#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
@@ -221,8 +223,12 @@
#define CONFIG_NET_MULTI
#define CONFIG_PHY_GIGE
#define CONFIG_PHYLIB
+
+#define CONFIG_SPL_ENV_SUPPORT
+#define CONFIG_SPL_NET_VCI_STRING "AM43xx U-Boot SPL"
+
+#define CONFIG_SPL_ETH_SUPPORT
+#define CONFIG_SPL_NET_SUPPORT
#define CONFIG_SYS_RX_ETH_BUFFER 64
-#define CONFIG_PHY_ADDR 16
-#endif
#endif /* __CONFIG_AM43XX_EVM_H */