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 <faiz_abbas@ti.com>
This commit is contained in:
@@ -242,7 +242,7 @@
|
||||
#undef CONFIG_DM_USB
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USB_ETHER)
|
||||
/* Remove other SPL modes. */
|
||||
/* disable host part of MUSB in SPL */
|
||||
/* disable EFI partitions and partition UUID support */
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
/* Bootcount using the RTC block */
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USB_ETHER)
|
||||
/* Remove other SPL modes. */
|
||||
/* disable host part of MUSB in SPL */
|
||||
#undef CONFIG_MUSB_HOST
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
#define CONFIG_AM437X_USB2PHY2_HOST
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_USBETH_SUPPORT)
|
||||
#if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_USB_ETHER)
|
||||
#undef CONFIG_USB_DWC3_PHY_OMAP
|
||||
#undef CONFIG_USB_DWC3_OMAP
|
||||
#undef CONFIG_USB_DWC3
|
||||
|
||||
@@ -273,7 +273,7 @@
|
||||
#define CONFIG_AM335X_USB1
|
||||
#define CONFIG_AM335X_USB1_MODE MUSB_OTG
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USB_ETHER)
|
||||
/* disable host part of MUSB in SPL */
|
||||
/* disable EFI partitions and partition UUID support */
|
||||
/*
|
||||
|
||||
@@ -395,7 +395,7 @@ DEFAULT_LINUX_BOOT_ENV \
|
||||
#define CONFIG_AM335X_USB1
|
||||
#define CONFIG_AM335X_USB1_MODE MUSB_HOST
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USB_ETHER)
|
||||
/* disable host part of MUSB in SPL */
|
||||
/* disable EFI partitions and partition UUID support */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user