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>
This commit is contained in:
Mugunthan V N 2014-02-18 07:31:58 -05:00 committed by Tom Rini
parent e27f2dd721
commit 3a3939bf3d
2 changed files with 9 additions and 5 deletions

View File

@ -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.

View File

@ -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_SYS_RX_ETH_BUFFER 64
#define CONFIG_PHY_ADDR 16
#endif
#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
#endif /* __CONFIG_AM43XX_EVM_H */