Skip to content
Snippets Groups Projects
Commit 72436892 authored by Bin Meng's avatar Bin Meng
Browse files

x86: Convert INTEL_ICH6_GPIO to Kconfig


This converts Intel ICH6 GPIO driver to Kconfig, and add it to the
imply list of platform drivers.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent b9342b2c
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ config INTEL_BAYTRAIL
imply ENABLE_MRC_CACHE
imply ENV_IS_IN_SPI_FLASH
imply ICH_SPI
imply INTEL_ICH6_GPIO
imply MMC
imply MMC_PCI
imply MMC_SDHCI
......
......@@ -12,6 +12,7 @@ config NORTHBRIDGE_INTEL_IVYBRIDGE
imply ENABLE_MRC_CACHE
imply ENV_IS_IN_SPI_FLASH
imply ICH_SPI
imply INTEL_ICH6_GPIO
imply SCSI
imply SPI_FLASH
imply USB
......
......@@ -13,6 +13,7 @@ config INTEL_QUARK
imply ENV_IS_IN_SPI_FLASH
imply ETH_DESIGNWARE
imply ICH_SPI
imply INTEL_ICH6_GPIO
imply MMC
imply MMC_PCI
imply MMC_SDHCI
......
......@@ -11,6 +11,7 @@ config INTEL_QUEENSBAY
select ARCH_EARLY_INIT_R
imply ENV_IS_IN_SPI_FLASH
imply ICH_SPI
imply INTEL_ICH6_GPIO
imply MMC
imply MMC_PCI
imply MMC_SDHCI
......
......@@ -67,6 +67,12 @@ config INTEL_BROADWELL_GPIO
driver from the common Intel ICH6 driver. It supports a total of
95 GPIOs which can be configured from the device tree.
config INTEL_ICH6_GPIO
bool "Intel ICH6 compatible legacy GPIO driver"
depends on DM_GPIO
help
Say yes here to select Intel ICH6 compatible legacy GPIO driver.
config IMX_RGPIO2P
bool "i.MX7ULP RGPIO2P driver"
depends on DM
......
......@@ -14,7 +14,6 @@
#undef CONFIG_TPM_TIS_BASE_ADDRESS
#undef CONFIG_SCSI_AHCI
#undef CONFIG_INTEL_ICH6_GPIO
#undef CONFIG_USB_EHCI_PCI
#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \
......
......@@ -44,9 +44,6 @@
{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_AHCI}
#endif
/* GPIO is not supported */
#undef CONFIG_INTEL_ICH6_GPIO
/* SPI is not supported */
#define CONFIG_SPL_FRAMEWORK
......
......@@ -63,9 +63,6 @@
#define CONFIG_SUPPORT_VFAT
/* x86 GPIOs are accessed through a PCI device */
#define CONFIG_INTEL_ICH6_GPIO
/*-----------------------------------------------------------------------
* Command line configuration.
*/
......
......@@ -1154,7 +1154,6 @@ CONFIG_INI_MAX_LINE
CONFIG_INI_MAX_NAME
CONFIG_INI_MAX_SECTION
CONFIG_INTEGRITY
CONFIG_INTEL_ICH6_GPIO
CONFIG_INTERRUPTS
CONFIG_IO
CONFIG_IO64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment