All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Cc: Marek Vasut <marex@denx.de>, Andrew Davis <afd@ti.com>,
	Chris Packham <judge.packham@gmail.com>,
	Jim Liu <jim.t90615@gmail.com>, Lukasz Majewski <lukma@denx.de>,
	Samuel Holland <samuel@sholland.org>,
	Simon Glass <sjg@chromium.org>, Stefan Roese <sr@denx.de>,
	Tom Rini <trini@konsulko.com>,
	Weijie Gao <weijie.gao@mediatek.com>
Subject: [PATCH 1/4] usb: Move SPL_USB_HOST Kconfig symbol to drivers/usb/
Date: Sat,  6 May 2023 16:42:37 +0200	[thread overview]
Message-ID: <20230506144240.10042-1-marex@denx.de> (raw)

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 <marex@denx.de>
---
Cc: Andrew Davis <afd@ti.com>
Cc: Chris Packham <judge.packham@gmail.com>
Cc: Jim Liu <jim.t90615@gmail.com>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Samuel Holland <samuel@sholland.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Weijie Gao <weijie.gao@mediatek.com>
---
 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


             reply	other threads:[~2023-05-06 14:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-06 14:42 Marek Vasut [this message]
2023-05-06 14:42 ` [PATCH 2/4] usb: Move SPL_USB_STORAGE Kconfig symbol to drivers/usb/ Marek Vasut
2023-05-16 20:21   ` Tom Rini
2023-05-06 14:42 ` [PATCH 3/4] usb: Move SPL_USB_GADGET and related Kconfig symbols " Marek Vasut
2023-05-16 20:21   ` Tom Rini
2023-05-06 14:42 ` [PATCH 4/4] usb: gadget: Add and use matching SPL USB ethernet gadget Kconfig symbols Marek Vasut
2023-05-16 20:21   ` Tom Rini
2023-05-16 20:21 ` [PATCH 1/4] usb: Move SPL_USB_HOST Kconfig symbol to drivers/usb/ Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230506144240.10042-1-marex@denx.de \
    --to=marex@denx.de \
    --cc=afd@ti.com \
    --cc=jim.t90615@gmail.com \
    --cc=judge.packham@gmail.com \
    --cc=lukma@denx.de \
    --cc=samuel@sholland.org \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=weijie.gao@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.