summaryrefslogtreecommitdiff
path: root/board/vscom
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-10 21:14:26 -0600
committerTom Rini <trini@konsulko.com>2021-07-28 14:27:54 -0400
commitf2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a (patch)
tree213b74e1c18e5589f8610f83fc4d41527fd03b16 /board/vscom
parent0c6bdbb97c5c7d233145de594325b9fbe1beb8bb (diff)
downloadu-boot-f2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a.tar.gz
u-boot-f2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a.tar.bz2
u-boot-f2d7a36ec258f49eb80c9d4a0cc6cb7e697f5d6a.zip
Rename SPL_ETH_SUPPORT to SPL_ETH
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/vscom')
-rw-r--r--board/vscom/baltos/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c
index 4175d41469..0007cac1aa 100644
--- a/board/vscom/baltos/board.c
+++ b/board/vscom/baltos/board.c
@@ -379,7 +379,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 */
@@ -421,7 +421,7 @@ static struct cpsw_platform_data cpsw_data = {
};
#endif
-#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_USB_MUSB_GADGET)) && \
@@ -450,7 +450,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");