]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
distro: Imply USB_STORAGE when USB is available
authorAlexander Graf <agraf@suse.de>
Thu, 18 Oct 2018 07:33:03 +0000 (09:33 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000 (21:59 +0100)
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

diff --git a/Kconfig b/Kconfig
index dca9bb4e432929863ae79ab85b5e2f8100cfa16d..f512b3083525a7acfab541f2efe3e21a215d1937 100644 (file)
--- 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
        imply USE_BOOTCOMMAND
        help
          Select this to enable various options and commands which are suitable