[PATCH v2 157/169] Correct SPL use of USB_DWC3_MESON_G12A

Simon Glass sjg at chromium.org
Sun Feb 5 23:44:21 CET 2023


This converts 1 usage of this option to the non-SPL form, since there is
no SPL_USB_DWC3_MESON_G12A defined in Kconfig

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 arch/arm/mach-meson/board-g12a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c
index 2e59eee8f79..d9f1acdef74 100644
--- a/arch/arm/mach-meson/board-g12a.c
+++ b/arch/arm/mach-meson/board-g12a.c
@@ -97,7 +97,7 @@ static struct mm_region g12a_mem_map[] = {
 
 struct mm_region *mem_map = g12a_mem_map;
 
-#if CONFIG_IS_ENABLED(USB_DWC3_MESON_G12A) && \
+#if IS_ENABLED(CONFIG_USB_DWC3_MESON_G12A) && \
 	CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG)
 static struct dwc2_plat_otg_data meson_g12a_dwc2_data;
 
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list