aboutsummaryrefslogtreecommitdiff
path: root/include/configs/coreboot.h
diff options
context:
space:
mode:
authorSimon Glass2014-10-10 07:49:18 -0600
committerSimon Glass2014-10-23 19:45:28 -0600
commit7414112d70727e90be680e77dcb8a31394255ca8 (patch)
treee5fade722663af130c60f5973fb5a5464b4484df /include/configs/coreboot.h
parentc15b0b86d1cf74b2ca5b340d9caf1517cee1cf9e (diff)
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/configs/coreboot.h')
-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 200b744e4f2..0e85145c249 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