summaryrefslogtreecommitdiff
path: root/board/birdland/bav335x/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/birdland/bav335x/board.c')
-rw-r--r--board/birdland/bav335x/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/birdland/bav335x/board.c b/board/birdland/bav335x/board.c
index f284568ec9..d4bb1e743f 100644
--- a/board/birdland/bav335x/board.c
+++ b/board/birdland/bav335x/board.c
@@ -360,7 +360,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_USBETH_SUPPORT)) &&\
+#if ((defined(CONFIG_SPL_ETH_SUPPORT) || defined(CONFIG_SPL_USB_ETHER)) &&\
defined(CONFIG_SPL_BUILD)) || \
((defined(CONFIG_DRIVER_TI_CPSW) || \
defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET)) && \