All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 21/22] x86: kconfig: Move USB to platform Kconfig
Date: Sun, 30 Jul 2017 06:23:27 -0700	[thread overview]
Message-ID: <1501421008-5737-22-git-send-email-bmeng.cn@gmail.com> (raw)
In-Reply-To: <1501421008-5737-1-git-send-email-bmeng.cn@gmail.com>

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>
---

Changes in v2: None

 arch/Kconfig                   | 2 --
 arch/x86/cpu/baytrail/Kconfig  | 3 +++
 arch/x86/cpu/broadwell/Kconfig | 2 ++
 arch/x86/cpu/coreboot/Kconfig  | 3 +++
 arch/x86/cpu/ivybridge/Kconfig | 2 ++
 arch/x86/cpu/qemu/Kconfig      | 2 ++
 arch/x86/cpu/quark/Kconfig     | 2 ++
 arch/x86/cpu/queensbay/Kconfig | 2 ++
 arch/x86/cpu/tangier/Kconfig   | 1 +
 configs/efi-x86_defconfig      | 2 --
 configs/minnowmax_defconfig    | 1 -
 11 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index fef06d6..99617b7 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 9f4947d..7ea43b9 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 c56f90d..7e71325 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 31fe17b..07d3fb8 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 82af7ac..5630da0 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 ef0fd30..b6297f7 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 46dade3..ce0c454 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 6e47ee5..9b9c756 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 e7d16db..86a3340 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 47843f7..d45932b 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 5a770a9..0d58848 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
-- 
2.9.2

  parent reply	other threads:[~2017-07-30 13:23 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-30 13:23 [U-Boot] [PATCH v2 00/22] x86: kconfig clean up Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 01/22] x86: kconfig: Select TIMER and X86_TSC_TIMER Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 02/22] x86: kconfig: Select USE_PRIVATE_LIBGCC Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 03/22] x86: kconfig: Select PCI and DM_PCI Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 04/22] x86: kconfig: Imply HAVE_INTEL_ME in the platform Kconfig Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 05/22] x86: kconfig: Let board select BOARD_EARLY_INIT_F Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01  9:17     ` Bin Meng
2017-08-01 12:22       ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 06/22] x86: kconfig: Select ARCH_MISC_INIT in the platform Kconfig Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01  9:18     ` Bin Meng
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 07/22] x86: kconfig: Select ARCH_EARLY_INIT_R " Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 08/22] x86: kconfig: Imply ENABLE_MRC_CACHE " Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 09/22] x86: kconfig: Select OF_CONTROL Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 10/22] x86: kconfig: Imply DM uclass drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 11/22] x86: baytrail: kconfig: Imply platform specific drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 12/22] x86: ivybridge: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 13/22] x86: broadwell: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 14/22] x86: coreboot: kconfig: Imply drivers that are useful Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 15/22] x86: queensbay: kconfig: Imply platform specific drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 16/22] x86: tangier: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 17/22] x86: quark: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 18/22] x86: qemu: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 19/22] x86: qemu: Remove SPI flash from defconfigs Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 20/22] x86: kconfig: Let board select SPI flash Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` Bin Meng [this message]
2017-08-01  9:12   ` [U-Boot] [PATCH v2 21/22] x86: kconfig: Move USB to platform Kconfig Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 22/22] x86: Convert INTEL_ICH6_GPIO to Kconfig Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1501421008-5737-22-git-send-email-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.