From: Simon Glass <sjg@chromium.org>
Date: Sun, 2 Dec 2012 03:44:44 +0000 (+0000)
Subject: x86: Enable ICH6 GPIO controller for coreboot
X-Git-Tag: v2025.01-rc5-pxa1908~16715^2~39
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B?a=commitdiff_plain;h=a7e6d5496c7981803482bfa6970eeda2954d3458;p=u-boot.git

x86: Enable ICH6 GPIO controller for coreboot

Coreboot uses this controller to implement GPIO access.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index a010adc2d9..fcfa7edfb4 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -138,6 +138,9 @@
 #undef CONFIG_VIDEO
 #undef CONFIG_CFB_CONSOLE
 
+/* x86 GPIOs are accessed through a PCI device */
+#define CONFIG_INTEL_ICH6_GPIO
+
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
@@ -150,6 +153,7 @@
 #define CONFIG_CMD_ECHO
 #undef CONFIG_CMD_FLASH
 #define CONFIG_CMD_FPGA
+#define CONFIG_CMD_GPIO
 #define CONFIG_CMD_IMI
 #undef CONFIG_CMD_IMLS
 #define CONFIG_CMD_IRQ