summaryrefslogtreecommitdiff
path: root/util/inteltool/gpio.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-10 22:26:13 +0200
committerNico Huber <nico.h@gmx.de>2017-04-15 20:06:08 +0200
commit026f7df763c5658a31e335d6de68263bd9bc2893 (patch)
treea4fa08491d49b59a15a912572bd96222fddb1b36 /util/inteltool/gpio.c
parent241c4f244fc3365eddd80516a9dd2fd93fae9299 (diff)
util/inteltool: Add ICH10 (Consumer Base) support
Reuses ICH10R functions. TESTED on Intel DG43GT (Not supported by coreboot) Change-Id: If9ae8ba8b95e3a7bf6596ae639eb8cafab583298 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19232 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/inteltool/gpio.c')
-rw-r--r--util/inteltool/gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/inteltool/gpio.c b/util/inteltool/gpio.c
index b9d5ae1d2d..db0e3a40be 100644
--- a/util/inteltool/gpio.c
+++ b/util/inteltool/gpio.c
@@ -939,6 +939,7 @@ int print_gpios(struct pci_dev *sb, int show_all, int show_diffs)
gpio_defaults = pp_pch_mobile_defaults;
defaults_size = ARRAY_SIZE(pp_pch_mobile_defaults);
break;
+ case PCI_DEVICE_ID_INTEL_ICH10:
case PCI_DEVICE_ID_INTEL_ICH10R:
gpiobase = pci_read_word(sb, 0x48) & 0xfffc;
gpio_registers = ich10_gpio_registers;