summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-10 07:49:18 -0600
committerSimon Glass <sjg@chromium.org>2014-10-23 19:45:28 -0600
commit7414112d70727e90be680e77dcb8a31394255ca8 (patch)
treee5fade722663af130c60f5973fb5a5464b4484df /include
parentc15b0b86d1cf74b2ca5b340d9caf1517cee1cf9e (diff)
downloadblackbird-obmc-uboot-7414112d70727e90be680e77dcb8a31394255ca8.tar.gz
blackbird-obmc-uboot-7414112d70727e90be680e77dcb8a31394255ca8.zip
dm: x86: Convert Intel ICH6 GPIO driver to use driver model
Convert over this driver, using device tree to pass in the required information. The peripheral is still probed, just the number of GPIO banks and their offsets is in the device tree (previously this was a table in the driver). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/coreboot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index 200b744e4f..0e85145c24 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -27,6 +27,10 @@
#define CONFIG_SYS_EARLY_PCI_INIT
#define CONFIG_DISPLAY_BOARDINFO_LATE
+#define CONFIG_DM
+#define CONFIG_CMD_DM
+#define CONFIG_DM_GPIO
+
#define CONFIG_LMB
#define CONFIG_OF_LIBFDT
OpenPOWER on IntegriCloud