|
@@ -250,7 +250,7 @@ int board_late_init(void)
|
|
|
#endif
|
|
|
|
|
|
#if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) || \
|
|
|
- (defined(CONFIG_SPL_ETH_SUPPORT) && defined(CONFIG_SPL_BUILD))
|
|
|
+ (defined(CONFIG_SPL_ETH) && defined(CONFIG_SPL_BUILD))
|
|
|
static void cpsw_control(int enabled)
|
|
|
{
|
|
|
/* VTP can be added here */
|
|
@@ -302,7 +302,7 @@ static struct cpsw_platform_data cpsw_data = {
|
|
|
* Build in only these cases to avoid warnings about unused variables
|
|
|
* when we build an SPL that has neither option but full U-Boot will.
|
|
|
*/
|
|
|
-#if ((defined(CONFIG_SPL_ETH_SUPPORT) || defined(CONFIG_SPL_USB_ETHER)) \
|
|
|
+#if ((defined(CONFIG_SPL_ETH) || defined(CONFIG_SPL_USB_ETHER)) \
|
|
|
&& defined(CONFIG_SPL_BUILD)) || \
|
|
|
((defined(CONFIG_DRIVER_TI_CPSW) || \
|
|
|
defined(CONFIG_USB_ETHER) && defined(CONFIG_MUSB_GADGET)) && \
|
|
@@ -324,7 +324,7 @@ int board_eth_init(struct bd_info *bis)
|
|
|
mac_addr[5] = (mac_lo & 0xFF00) >> 8;
|
|
|
|
|
|
#if (defined(CONFIG_DRIVER_TI_CPSW) && !defined(CONFIG_SPL_BUILD)) || \
|
|
|
- (defined(CONFIG_SPL_ETH_SUPPORT) && defined(CONFIG_SPL_BUILD))
|
|
|
+ (defined(CONFIG_SPL_ETH) && defined(CONFIG_SPL_BUILD))
|
|
|
if (!env_get("ethaddr")) {
|
|
|
printf("<ethaddr> not set. Validating first E-fuse MAC\n");
|
|
|
|