From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD966C433F5 for ; Sat, 9 Oct 2021 13:28:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D600B60F5D for ; Sat, 9 Oct 2021 13:28:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D600B60F5D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 01C8F83647; Sat, 9 Oct 2021 15:27:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="m164Xx1g"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1B37F8366D; Sat, 9 Oct 2021 15:27:52 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0125283620 for ; Sat, 9 Oct 2021 15:27:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kabel@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 7F6F360F6C; Sat, 9 Oct 2021 13:27:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633786061; bh=oDNkj74pzEBOhMXBmC7Yi2NV2qmXvlRbaw/eJDZZX4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m164Xx1g1DpNyRRFDM8qGWHHI8T1KGhh/BhOfMOYY9gQkwT+pygPimxX2h0ntTuvc w6r5LiKL1bFSeJW8oRjRFGoJaZ6PIuFSDYoDJLf/XJG1y96l/FW7VPkQXG//QmXlln 0aXnih/xJ+4IY9iTzdy4BEwMus4V6f4pFvLvvSsbJxVQt5zxeX4dSj2u1VqjsndHXn 2BZyJkRRgkWAM4gmaVg0/gC/ytfNbnuMqsieZjHtPBAFV/THN/IOwZX6J9kxt2hRcH WIy6CvpngYp/fcqpJTfhal0hbFnRMkqAHILYUeeAZ6BXw6cTc6n/J6/bbhi1qvbb/I 7d7gBozFm2pbg== From: =?UTF-8?q?Marek=20Beh=C3=BAn?= To: Tom Rini Cc: u-boot@lists.denx.de, Marek Vasut , Stefan Roese , =?UTF-8?q?Marek=20Beh=C3=BAn?= Subject: [PATCH 2/4] Convert CONFIG_USB_EHCI_MXS to Kconfig Date: Sat, 9 Oct 2021 15:27:33 +0200 Message-Id: <20211009132735.5173-2-kabel@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211009132735.5173-1-kabel@kernel.org> References: <20211009132735.5173-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: Marek BehĂșn This option is only used for mx23evk_defconfig mx23_olinuxino_defconfig which are the only i.MX23 boards. Add depend on ARCH_MX23 and default to y. Signed-off-by: Marek BehĂșn --- drivers/usb/host/Kconfig | 7 +++++++ include/configs/mxs.h | 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 10b0479a8a..be5e4b994d 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -175,6 +175,13 @@ config USB_EHCI_MX7 ---help--- Enables support for the on-chip EHCI controller on i.MX7 SoCs. +config USB_EHCI_MXS + bool "Support for i.MX23 EHCI USB controller" + depends on ARCH_MX23 + default y + help + Enables support for the on-chip EHCI controller on i.MX23 SoCs. + config USB_EHCI_OMAP bool "Support for OMAP3+ on-chip EHCI USB controller" depends on ARCH_OMAP2PLUS diff --git a/include/configs/mxs.h b/include/configs/mxs.h index 330ac42402..4473d5177a 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -128,7 +128,6 @@ /* USB */ #ifdef CONFIG_CMD_USB -#define CONFIG_USB_EHCI_MXS #define CONFIG_USB_EHCI_IS_TDI #endif diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 682f597f37..7610739021 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -3037,7 +3037,6 @@ CONFIG_USB_EHCI_EXYNOS CONFIG_USB_EHCI_FARADAY CONFIG_USB_EHCI_IS_TDI CONFIG_USB_EHCI_KIRKWOOD -CONFIG_USB_EHCI_MXS CONFIG_USB_EHCI_TXFIFO_THRESH CONFIG_USB_ETH_QMULT CONFIG_USB_ETH_SUBSET -- 2.32.0