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 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 7A05DC77B75 for ; Sat, 6 May 2023 14:42:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 037A185EB4; Sat, 6 May 2023 16:42:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1683384173; bh=C/hyhxAK/+owAzBVJifbQKvPXe0U1feinEZbKMDL3UE=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=XDX5mGJYRJY5K3rYnE4RZtr5t14fdQoJ0OLCMQJ5cMRPW25SFW1NW5WQKJvKcRYqP Ke2Qpq743jMCRthDiRQ3cxaKDHemDqVg5pkh6gfS3i/f2mHbBJyNSC/JVuxjaz1RGO xI1ydXNhYL17okhrUymk88N1c7mjnBv/DEASRMLLUMq9JP4oxCbjjHNM/CRp1AOGJG 3bieNkA9/hyR639RSzJfcRam/Pq2drIrCYPTy0A1rrUXo9NqCk9QsOymihR7zgBVWf OXOvahWmf+dclgdNqfwP0H4Rg4Rs2DetrTwgEIN0OHospOuOnL99PGBA2CWmMbVZ6m f+BUoFkzV2QTA== Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 2F63E85B6E; Sat, 6 May 2023 16:42:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1683384171; bh=C/hyhxAK/+owAzBVJifbQKvPXe0U1feinEZbKMDL3UE=; h=From:To:Cc:Subject:Date:From; b=Lovw1eKJlemP22SKMKjmY1YnoW11hViahD6TbC+Z5Pti0IA3lUXhLjSOXvIXF5iSa bVGbM2ocSlorU5Z1fl+Y/mf9oSMbIFwss/iLytFkeGRG82pYvjfRzeZrVQWtV5812k Teal5nL/ZU5+f7jvqYQ2y1S3cWT6xbhkSftl/w6nfutG30DAFsaVyNYXL5fBueUWlq Jq6hcKT7KeRGegCdejK09Eb86udA8VB3PZ5S6mUplpKRTpkM7YSxxIY+BXPCsSC3E2 sGBGOopFdKkDYxEhVDj8u9eprOvyDCpk66ky91BjyWWMxfzPZquBb81dcyLZEXNNi2 lEmBJnrSR6tYQ== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Andrew Davis , Chris Packham , Jim Liu , Lukasz Majewski , Samuel Holland , Simon Glass , Stefan Roese , Tom Rini , Weijie Gao Subject: [PATCH 1/4] usb: Move SPL_USB_HOST Kconfig symbol to drivers/usb/ Date: Sat, 6 May 2023 16:42:37 +0200 Message-Id: <20230506144240.10042-1-marex@denx.de> X-Mailer: git-send-email 2.39.2 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.8 at phobos.denx.de X-Virus-Status: Clean To avoid piling up all the various Kconfig symbols in one place, i.e. common/spl/Kconfig, move the USB Kconfig symbols into drivers/usb/ . This commit moves SPL_USB_HOST and updates help text of both USB_HOST and SPL_USB_HOST . Signed-off-by: Marek Vasut --- Cc: Andrew Davis Cc: Chris Packham Cc: Jim Liu Cc: Lukasz Majewski Cc: Samuel Holland Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini Cc: Weijie Gao --- common/spl/Kconfig | 10 ---------- drivers/usb/host/Kconfig | 13 +++++++++++++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 2c042ad3066..03d0fd90e09 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -1345,16 +1345,6 @@ config SPL_THERMAL automatic power-off when the temperature gets too high or low. Other devices may be discrete but connected on a suitable bus. -config SPL_USB_HOST - bool "Support USB host drivers" - help - Enable access to USB (Universal Serial Bus) host devices so that - SPL can load U-Boot from a connected USB peripheral, such as a USB - flash stick. While USB takes a little longer to start up than most - buses, it is very flexible since many different types of storage - device can be attached. This option enables the drivers in - drivers/usb/host as part of an SPL build. - config SPL_USB_STORAGE bool "Support loading from USB" depends on SPL_USB_HOST diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 6213b3c95fa..1a883babf4c 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -6,6 +6,19 @@ comment "USB Host Controller Drivers" config USB_HOST bool select DM_USB + help + Enable access to USB (Universal Serial Bus) host devices so that + SPL can load U-Boot from a connected USB peripheral, such as a USB + flash stick. While USB takes a little longer to start up than most + buses, it is very flexible since many different types of storage + device can be attached. + +config SPL_USB_HOST + bool "Support USB host drivers" + depends on SPL + help + For detailed help see USB_HOST Kconfig symbol. This option enables + the drivers in drivers/usb/host as part of an SPL build. config USB_XHCI_HCD bool "xHCI HCD (USB 3.0) support" -- 2.39.2