]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sunxi: Enable CMD_USB and USB_STORAGE by default on sunxi
authorHans de Goede <hdegoede@redhat.com>
Wed, 17 Jun 2015 18:54:07 +0000 (20:54 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:49:05 +0000 (13:49 +0200)
Start using the new Kconfig options which are available for these now,
and simply always enable them by selecting them as sunxi builds always
include USB support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/Kconfig
include/configs/sunxi-common.h

index 699410958d196dbd3d391e44e9a56cda7c13c166..0e1c85afd4155e50acb0f84e24bcffd4538c783f 100644 (file)
@@ -726,6 +726,7 @@ config ARCH_SOCFPGA
 
 config ARCH_SUNXI
        bool "Support sunxi (Allwinner) SoCs"
+       select CMD_USB
        select DM
        select DM_GPIO
        select DM_ETH
@@ -735,6 +736,7 @@ config ARCH_SUNXI
        select OF_SEPARATE
        select SPL_DISABLE_OF_CONTROL
        select USB
+       select USB_STORAGE
 
 config TARGET_SNOWBALL
        bool "Support snowball"
index 9576bc1a20c1b2196618e46fd930c9e7ea02e117..5adcc39e02a9360890c3e8434260080064c674c5 100644 (file)
@@ -330,11 +330,6 @@ extern int soft_i2c_gpio_scl;
 #define CONFIG_MUSB_PIO_ONLY
 #endif
 
-#if defined CONFIG_USB_EHCI || defined CONFIG_USB_MUSB_SUNXI
-#define CONFIG_CMD_USB
-#define CONFIG_USB_STORAGE
-#endif
-
 #ifdef CONFIG_USB_KEYBOARD
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_PREBOOT