aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng2017-07-30 06:23:27 -0700
committerBin Meng2017-08-01 20:17:02 +0800
commitb9342b2cc69b41964ab31d4154913e72cc72c4b7 (patch)
treedba40aa1bbb1f6694c56ac39dbfc7192f68a0657
parent1df7f0b6a00c2080c50de775b4ef621aad24c47e (diff)
x86: kconfig: Move USB to platform Kconfig
Like other peripheral drivers, move USB related drivers to platform Kconfig as well. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/Kconfig2
-rw-r--r--arch/x86/cpu/baytrail/Kconfig3
-rw-r--r--arch/x86/cpu/broadwell/Kconfig2
-rw-r--r--arch/x86/cpu/coreboot/Kconfig3
-rw-r--r--arch/x86/cpu/ivybridge/Kconfig2
-rw-r--r--arch/x86/cpu/qemu/Kconfig2
-rw-r--r--arch/x86/cpu/quark/Kconfig2
-rw-r--r--arch/x86/cpu/queensbay/Kconfig2
-rw-r--r--arch/x86/cpu/tangier/Kconfig1
-rw-r--r--configs/efi-x86_defconfig2
-rw-r--r--configs/minnowmax_defconfig1
11 files changed, 17 insertions, 5 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index fef06d68838..99617b7d043 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -95,8 +95,6 @@ config X86
select PCI
select TIMER
select X86_TSC_TIMER
- select USB
- select USB_EHCI_HCD
imply DM_ETH
imply DM_GPIO
imply DM_KEYBOARD
diff --git a/arch/x86/cpu/baytrail/Kconfig b/arch/x86/cpu/baytrail/Kconfig
index 9f4947d116e..7ea43b9521e 100644
--- a/arch/x86/cpu/baytrail/Kconfig
+++ b/arch/x86/cpu/baytrail/Kconfig
@@ -19,6 +19,9 @@ config INTEL_BAYTRAIL
imply SCSI
imply SPI_FLASH
imply SYS_NS16550
+ imply USB
+ imply USB_EHCI_HCD
+ imply USB_XHCI_HCD
imply VIDEO_VESA
if INTEL_BAYTRAIL
diff --git a/arch/x86/cpu/broadwell/Kconfig b/arch/x86/cpu/broadwell/Kconfig
index c56f90df350..7e713254dae 100644
--- a/arch/x86/cpu/broadwell/Kconfig
+++ b/arch/x86/cpu/broadwell/Kconfig
@@ -14,6 +14,8 @@ config INTEL_BROADWELL
imply INTEL_BROADWELL_GPIO
imply SCSI
imply SPI_FLASH
+ imply USB
+ imply USB_EHCI_HCD
imply VIDEO_BROADWELL_IGD
if INTEL_BROADWELL
diff --git a/arch/x86/cpu/coreboot/Kconfig b/arch/x86/cpu/coreboot/Kconfig
index 31fe17bb9bc..07d3fb8bead 100644
--- a/arch/x86/cpu/coreboot/Kconfig
+++ b/arch/x86/cpu/coreboot/Kconfig
@@ -12,6 +12,9 @@ config SYS_COREBOOT
imply MMC_SDHCI_SDMA
imply SPI_FLASH
imply SYS_NS16550
+ imply USB
+ imply USB_EHCI_HCD
+ imply USB_XHCI_HCD
imply VIDEO_COREBOOT
imply CMD_CBFS
imply FS_CBFS
diff --git a/arch/x86/cpu/ivybridge/Kconfig b/arch/x86/cpu/ivybridge/Kconfig
index 82af7ac8d5e..5630da06ee2 100644
--- a/arch/x86/cpu/ivybridge/Kconfig
+++ b/arch/x86/cpu/ivybridge/Kconfig
@@ -14,6 +14,8 @@ config NORTHBRIDGE_INTEL_IVYBRIDGE
imply ICH_SPI
imply SCSI
imply SPI_FLASH
+ imply USB
+ imply USB_EHCI_HCD
imply VIDEO_VESA
if NORTHBRIDGE_INTEL_IVYBRIDGE
diff --git a/arch/x86/cpu/qemu/Kconfig b/arch/x86/cpu/qemu/Kconfig
index ef0fd306cd6..b6297f79710 100644
--- a/arch/x86/cpu/qemu/Kconfig
+++ b/arch/x86/cpu/qemu/Kconfig
@@ -10,6 +10,8 @@ config QEMU
imply ENV_IS_NOWHERE
imply E1000
imply SYS_NS16550
+ imply USB
+ imply USB_EHCI_HCD
imply VIDEO_VESA
if QEMU
diff --git a/arch/x86/cpu/quark/Kconfig b/arch/x86/cpu/quark/Kconfig
index 46dade34c6b..ce0c454a138 100644
--- a/arch/x86/cpu/quark/Kconfig
+++ b/arch/x86/cpu/quark/Kconfig
@@ -19,6 +19,8 @@ config INTEL_QUARK
imply MMC_SDHCI_SDMA
imply SPI_FLASH
imply SYS_NS16550
+ imply USB
+ imply USB_EHCI_HCD
if INTEL_QUARK
diff --git a/arch/x86/cpu/queensbay/Kconfig b/arch/x86/cpu/queensbay/Kconfig
index 6e47ee5d564..9b9c7561678 100644
--- a/arch/x86/cpu/queensbay/Kconfig
+++ b/arch/x86/cpu/queensbay/Kconfig
@@ -19,6 +19,8 @@ config INTEL_QUEENSBAY
imply SCSI
imply SPI_FLASH
imply SYS_NS16550
+ imply USB
+ imply USB_EHCI_HCD
imply VIDEO_VESA
if INTEL_QUEENSBAY
diff --git a/arch/x86/cpu/tangier/Kconfig b/arch/x86/cpu/tangier/Kconfig
index e7d16dbaeb5..86a334047c0 100644
--- a/arch/x86/cpu/tangier/Kconfig
+++ b/arch/x86/cpu/tangier/Kconfig
@@ -13,6 +13,7 @@ config INTEL_TANGIER
imply MMC_SDHCI_SDMA
imply MMC_SDHCI_TANGIER
imply TANGIER_WATCHDOG
+ imply USB
imply USB_DWC3
config SYS_CAR_ADDR
diff --git a/configs/efi-x86_defconfig b/configs/efi-x86_defconfig
index 47843f7bdaa..d45932bcfc0 100644
--- a/configs/efi-x86_defconfig
+++ b/configs/efi-x86_defconfig
@@ -32,7 +32,5 @@ CONFIG_DEBUG_EFI_CONSOLE=y
CONFIG_DEBUG_UART_BASE=0
CONFIG_DEBUG_UART_CLOCK=0
CONFIG_ICH_SPI=y
-CONFIG_USB_STORAGE=y
-CONFIG_USB_KEYBOARD=y
CONFIG_EFI=y
# CONFIG_EFI_LOADER is not set
diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig
index 5a770a9409a..0d58848e3ca 100644
--- a/configs/minnowmax_defconfig
+++ b/configs/minnowmax_defconfig
@@ -46,7 +46,6 @@ CONFIG_CPU=y
CONFIG_RTL8169=y
CONFIG_DEBUG_UART_BASE=0x3f8
CONFIG_DEBUG_UART_CLOCK=1843200
-CONFIG_USB_XHCI_HCD=y
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y