[PATCH 160/171] Correct SPL uses of USB_DWC3_MESON_GXL
Simon Glass
sjg at chromium.org
Mon Jan 30 16:16:01 CET 2023
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_USB_DWC3_MESON_GXL defined in Kconfig
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/arm/mach-meson/board-axg.c | 2 +-
arch/arm/mach-meson/board-gx.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-meson/board-axg.c b/arch/arm/mach-meson/board-axg.c
index 236ec815799..8bcb0b3a212 100644
--- a/arch/arm/mach-meson/board-axg.c
+++ b/arch/arm/mach-meson/board-axg.c
@@ -91,7 +91,7 @@ static struct mm_region axg_mem_map[] = {
struct mm_region *mem_map = axg_mem_map;
-#if CONFIG_IS_ENABLED(USB_DWC3_MESON_GXL) && \
+#if IS_ENABLED(CONFIG_USB_DWC3_MESON_GXL) && \
CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG)
static struct dwc2_plat_otg_data meson_gx_dwc2_data;
diff --git a/arch/arm/mach-meson/board-gx.c b/arch/arm/mach-meson/board-gx.c
index 01fafd81c48..41f767302ec 100644
--- a/arch/arm/mach-meson/board-gx.c
+++ b/arch/arm/mach-meson/board-gx.c
@@ -109,7 +109,7 @@ static struct mm_region gx_mem_map[] = {
struct mm_region *mem_map = gx_mem_map;
-#if CONFIG_IS_ENABLED(USB_DWC3_MESON_GXL) && \
+#if IS_ENABLED(CONFIG_USB_DWC3_MESON_GXL) && \
CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG)
static struct dwc2_plat_otg_data meson_gx_dwc2_data;
--
2.39.1.456.gfc5497dd1b-goog
More information about the U-Boot
mailing list