All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] distro: Imply USB_STORAGE when USB is available
@ 2018-10-18  7:39 Alexander Graf
  2018-11-20 14:55 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Graf @ 2018-10-18  7:39 UTC (permalink / raw)
  To: u-boot

When you support distro boot and you support USB, you usually want to
also support booting from USB storage.

Reflect that in the Kconfig, so that we don't have to explicitly add
USB storage support to every defconfig individually.

Reported-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Kconfig b/Kconfig
index 1aadf5dd2d..8d515fe18c 100644
--- a/Kconfig
+++ b/Kconfig
@@ -86,6 +86,7 @@ config DISTRO_DEFAULTS
 	select SUPPORT_RAW_INITRD
 	select SYS_LONGHELP
 	imply CMD_MII if NET
+	imply USB_STORAGE if USB
 	imply USE_BOOTCOMMAND
 	help
 	  Select this to enable various options and commands which are suitable
-- 
2.12.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] distro: Imply USB_STORAGE when USB is available
  2018-10-18  7:39 [U-Boot] [PATCH] distro: Imply USB_STORAGE when USB is available Alexander Graf
@ 2018-11-20 14:55 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-11-20 14:55 UTC (permalink / raw)
  To: u-boot

On Thu, Oct 18, 2018 at 09:39:20AM +0200, Alexander Graf wrote:

> When you support distro boot and you support USB, you usually want to
> also support booting from USB storage.
> 
> Reflect that in the Kconfig, so that we don't have to explicitly add
> USB storage support to every defconfig individually.
> 
> Reported-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> Signed-off-by: Alexander Graf <agraf@suse.de>

NAK:
drivers/usb/Kconfig:1:error: recursive dependency detected!
drivers/usb/Kconfig:1:  symbol USB is selected by DISTRO_DEFAULTS
Kconfig:89:     symbol DISTRO_DEFAULTS depends on USB
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"

Under sandbox_config

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181120/c32d3273/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-20 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18  7:39 [U-Boot] [PATCH] distro: Imply USB_STORAGE when USB is available Alexander Graf
2018-11-20 14:55 ` [U-Boot] " Tom Rini

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.