From b432b1ebdf3422caa3b714ef5a417a4e8864fad6 Mon Sep 17 00:00:00 2001 From: Faiz Abbas Date: Fri, 16 Feb 2018 21:17:44 +0530 Subject: spl: Kconfig: Rename SPL_USBETH_SUPPORT to SPL_USB_ETHER to match with the U-boot CONFIG Rename CONFIG_SPL_USBETH_SUPPORT to CONFIG_SPL_USB_ETHER. This enables users to block text using CONFIG_IS_ENABLED() instead of resorting to #if ladders with SPL and non-SPL cases. Signed-off-by: Faiz Abbas --- board/birdland/bav335x/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/birdland') 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)) && \ -- cgit v1.2.3