Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DAB5EC636CC for ; Sun, 5 Feb 2023 22:58:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CBCDF85CAB; Sun, 5 Feb 2023 23:46:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Vxi6ENzq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 27AE285B89; Sun, 5 Feb 2023 23:45:45 +0100 (CET) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4E7C485A18 for ; Sun, 5 Feb 2023 23:45:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x133.google.com with SMTP id m15so4098877ilh.9 for ; Sun, 05 Feb 2023 14:45:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NEt4Foi3zLmg1qI3xIenNPnbEBGHEQw9pxjwgnqdEdY=; b=Vxi6ENzqF7Ess80u1WWKrriZoFQnKcIumovF7ZwQyFtm+Y7cotlmj0H6m5mIzO/oT8 0e+mMJqqv6G2TO128YhxZQL4RAj+c+gS+1lKHu5NEGk+2Rf9wdw86lAWYQRPNf/gDzAC ao9wFPwaRAga/sbH8kqWGms5Jy/W6JdI+nCQI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NEt4Foi3zLmg1qI3xIenNPnbEBGHEQw9pxjwgnqdEdY=; b=EqvYvqlgDVmwLt9tPXZJanIOZxLzc5dn6O8aZa1Bt/tCqNWO2pH95efgsPn/yI2Vtz XNl4oBMmLDFQwdGb3uAbZuC5LEJqwf7MuWuwbtm9moonw2/gu7GmIxHqxuvkz230IxFt HTwWLYvRa/hhK5YGNQbQpE/6D+GVspzOspn+4sMcjoA9ePQ9GigX/q4SQ6OF2XpEmP/l c4oi+lYTy607+JKCapQapvPrnrSeyU1r7m1B3OCKmJih0Xr6RCbZSEx9oExYchf9vHn2 8UNebtxruPmO0VKNcLEuuymplY4VaneW2AZA6eOk2kWiGpPFajopuBhxPC9dIb1eRaty w1FA== X-Gm-Message-State: AO0yUKXr/kw6nB7WGqZE3O1TsKOG+txNHNpPHXWWLpRbu0ipGp69npMD cFeXmljxlhfjFuWmi8Tkul3bJ5FU5a/qWluJ X-Google-Smtp-Source: AK7set8CoG3BPcxPPsdcmVMfiu5b4sMWu1qTeKKv6lc4K/jEUzzz1UFE13/ZhX64jvVF2tV1AUH9Kw== X-Received: by 2002:a92:d084:0:b0:311:ad48:ff23 with SMTP id h4-20020a92d084000000b00311ad48ff23mr8215535ilh.11.1675637123798; Sun, 05 Feb 2023 14:45:23 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id p8-20020a02c808000000b003a9cab5c5e3sm2903842jao.116.2023.02.05.14.45.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:45:23 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 160/169] Correct SPL uses of USB_GADGET_DWC2_OTG Date: Sun, 5 Feb 2023 15:44:24 -0700 Message-Id: <20230205224433.234723-161-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205224433.234723-153-sjg@chromium.org> References: <20230205224433.234723-153-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This converts 3 usages of this option to the non-SPL form, since there is no SPL_USB_GADGET_DWC2_OTG defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-meson/board-axg.c | 2 +- arch/arm/mach-meson/board-g12a.c | 2 +- arch/arm/mach-meson/board-gx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-meson/board-axg.c b/arch/arm/mach-meson/board-axg.c index 8bcb0b3a212..4baf045d416 100644 --- a/arch/arm/mach-meson/board-axg.c +++ b/arch/arm/mach-meson/board-axg.c @@ -92,7 +92,7 @@ static struct mm_region axg_mem_map[] = { struct mm_region *mem_map = axg_mem_map; #if IS_ENABLED(CONFIG_USB_DWC3_MESON_GXL) && \ - CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG) + IS_ENABLED(CONFIG_USB_GADGET_DWC2_OTG) static struct dwc2_plat_otg_data meson_gx_dwc2_data; int board_usb_init(int index, enum usb_init_type init) diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c index d9f1acdef74..46507c6a0f9 100644 --- a/arch/arm/mach-meson/board-g12a.c +++ b/arch/arm/mach-meson/board-g12a.c @@ -98,7 +98,7 @@ static struct mm_region g12a_mem_map[] = { struct mm_region *mem_map = g12a_mem_map; #if IS_ENABLED(CONFIG_USB_DWC3_MESON_G12A) && \ - CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG) + IS_ENABLED(CONFIG_USB_GADGET_DWC2_OTG) static struct dwc2_plat_otg_data meson_g12a_dwc2_data; int board_usb_init(int index, enum usb_init_type init) diff --git a/arch/arm/mach-meson/board-gx.c b/arch/arm/mach-meson/board-gx.c index 41f767302ec..b850460c26c 100644 --- a/arch/arm/mach-meson/board-gx.c +++ b/arch/arm/mach-meson/board-gx.c @@ -110,7 +110,7 @@ static struct mm_region gx_mem_map[] = { struct mm_region *mem_map = gx_mem_map; #if IS_ENABLED(CONFIG_USB_DWC3_MESON_GXL) && \ - CONFIG_IS_ENABLED(USB_GADGET_DWC2_OTG) + IS_ENABLED(CONFIG_USB_GADGET_DWC2_OTG) static struct dwc2_plat_otg_data meson_gx_dwc2_data; int board_usb_init(int index, enum usb_init_type init) -- 2.39.1.519.gcb327c4b5f-goog