]> git.sur5r.net Git - u-boot/commitdiff
arch/x86: Select USB before selecting host driver
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 4 Jul 2017 16:32:22 +0000 (19:32 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 30 Jul 2017 02:30:25 +0000 (10:30 +0800)
Kbuild complains if USB is not selected before any of host driver.

warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)
warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)

Select it for X86.

Fixes: 64d6ac5bc4a9 ("Kconfig: USB: Migrate CONFIG_USB_EHCI_HCD users to Kconfig")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[bmeng: Update all x86 boards' defconfig files to remove CONFIG_USB]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
21 files changed:
arch/Kconfig
configs/bayleybay_defconfig
configs/chromebook_link64_defconfig
configs/chromebook_link_defconfig
configs/chromebook_samus_defconfig
configs/chromebox_panther_defconfig
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
configs/conga-qeval20-qa3-e3845_defconfig
configs/coreboot-x86_defconfig
configs/cougarcanyon2_defconfig
configs/crownbay_defconfig
configs/dfi-bt700-q7x-151_defconfig
configs/efi-x86_defconfig
configs/galileo_defconfig
configs/minnowmax_defconfig
configs/qemu-x86_64_defconfig
configs/qemu-x86_defconfig
configs/qemu-x86_efi_payload32_defconfig
configs/qemu-x86_efi_payload64_defconfig
configs/som-db5800-som-6867_defconfig
configs/theadorable-x86-dfi-bt700_defconfig

index d8e3263f83d78a04ca5c48f1d7815164b0845c2b..37016477cf29c34fc03ed449b270f75becc55484 100644 (file)
@@ -94,6 +94,7 @@ config X86
        select DM_GPIO
        select DM_SPI
        select DM_SPI_FLASH
+       select USB
        select USB_EHCI_HCD
        imply CMD_FPGA_LOADMK
        imply CMD_GETTIME
index 03a71edb24e597c724d21e870f70f3f99bed0e72..ddb3c211fe39355addc6424ee70a982c781522d0 100644 (file)
@@ -63,7 +63,6 @@ CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 11ceb76a04ff56479bbeac82f136d45d41b9e024..95bedb09a354fd0bdf6d86d47f16b57471f653f4 100644 (file)
@@ -79,7 +79,6 @@ CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
 CONFIG_TPM_TIS_LPC=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 461266d09f00ee49b83762d4b1b6e593dc8ecf3d..3b87ad5806ec117632eadbc17057f37c9e72adcf 100644 (file)
@@ -62,7 +62,6 @@ CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
 CONFIG_TPM_TIS_LPC=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 19c96c01766252370004b5cafe07e85de7a24352..1b5e49034288818af85224ea9cc9fe636bb467c9 100644 (file)
@@ -59,7 +59,6 @@ CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
 CONFIG_TPM_TIS_LPC=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index e447431931bd015b06026430f04068b1f4aa2d3b..4f1b69d52a0093365cfa94c19bd97abe8b8f9c47 100644 (file)
@@ -54,7 +54,6 @@ CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
 CONFIG_TPM_TIS_LPC=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index a0cce754ff7d8f6543f2fee2d514c6c2aefdc296..4802525caef4cdc711b20a1be14d88cbb6455dc3 100644 (file)
@@ -68,7 +68,6 @@ CONFIG_DEBUG_UART_CLOCK=1843200
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 26eed7c268ae091c1c89dfbcf225c2a509d77940..753ee3ffc9dd16e2bb17926e00660126a29c64f4 100644 (file)
@@ -67,7 +67,6 @@ CONFIG_DEBUG_UART_CLOCK=1843200
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index ab7f0d6b432362c1dfa53ee0dc577e9a08629469..3950bfc7ff2f2145d6681266e155d73baa691a35 100644 (file)
@@ -45,7 +45,6 @@ CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
 CONFIG_TIMER=y
 CONFIG_TPM_TIS_LPC=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 3a4ef1c29dc43023cf75f73258855e569d3db5e3..ea418c5873708ffbda491792389d8deba86a789c 100644 (file)
@@ -38,7 +38,6 @@ CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index dde07f7e7077a5e0052270b94efc2d5d2b0d5118..3e8d129c74b127df03bfacd24289f41045e40500 100644 (file)
@@ -55,7 +55,6 @@ CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index c86e0a9e4fa54943e37f0337dcdd542d07237aae..57b4075fd640bb1c3a504e501b302edc4d4b0976 100644 (file)
@@ -65,7 +65,6 @@ CONFIG_DEBUG_UART_CLOCK=1843200
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index d28812ae1348258db6a1939e7e37f9fd1ffe1a81..f93f937fdf599b49273502bd79cc4059359b47ac 100644 (file)
@@ -38,7 +38,6 @@ CONFIG_DEBUG_UART_BASE=0
 CONFIG_DEBUG_UART_CLOCK=0
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
 CONFIG_EFI=y
index 6da437c07b91ccb54551b63bee26320e3d6645d5..5fa8a54fc2aeb3f3bbeb147e8e96839bc7cfea68 100644 (file)
@@ -57,7 +57,6 @@ CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index d05875310a1c6bb92fa1cf2475a0316b1aa9275e..85a28143fdfb49da635dff1ddfc5ddb281e92635 100644 (file)
@@ -67,7 +67,6 @@ CONFIG_DEBUG_UART_CLOCK=1843200
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_STORAGE=y
index fc1c70d8332497e6c78acfae55267b897bc5949f..30d4d245192eed1fbb79e0bd6132d23551a77e63 100644 (file)
@@ -71,7 +71,6 @@ CONFIG_DEBUG_UART_BASE=0x3f8
 CONFIG_DEBUG_UART_CLOCK=1843200
 CONFIG_SYS_NS16550=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 26e56871f6c349edcc9d144bc585d921bcd5f347..53cbb6a4be53fca91d039bf0f939c412c3049870 100644 (file)
@@ -49,7 +49,6 @@ CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index ba5c0094ddf647a9450ef2d1658ad906d1ac8126..6e021b9c0de1111becb5335cf360b496ae319419 100644 (file)
@@ -46,7 +46,6 @@ CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 796c3c1a573aa746f4fc59281aa9579b414e9f62..026f08f866a84738d681f9c661509d3eec72eb51 100644 (file)
@@ -47,7 +47,6 @@ CONFIG_DM_PCI=y
 CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 47daca096997362478f1f84e65b15a68dea85d94..d694f753fc2da4b8dd520d4d91c311c9c7d8eafa 100644 (file)
@@ -59,7 +59,6 @@ CONFIG_DEBUG_UART_CLOCK=1843200
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y
index 1703cee8419c80966c4857f71efa51a5cafa87a7..8424714a7d3c56a1f6b0b9f892837cdba52151f0 100644 (file)
@@ -62,7 +62,6 @@ CONFIG_DM_RTC=y
 CONFIG_SYS_NS16550=y
 CONFIG_ICH_SPI=y
 CONFIG_TIMER=y
-CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_KEYBOARD=y