diff options
author | Abhay Kumar <abhay.kumar@intel.com> | 2016-07-20 17:48:55 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2016-07-21 04:34:09 +0200 |
commit | 67870f508fbec35be393efccdac2c658cbc40ed0 (patch) | |
tree | ee32c7b4e7dd084735281a10d77d32fdc1edbc5b | |
parent | 4b1668fd121c12dcddc28b227e5cd93fe67c9a33 (diff) | |
download | coreboot-67870f508fbec35be393efccdac2c658cbc40ed0.tar.xz |
soc/intel/apollolake: Add new Intel HD Graphics Device ID's.
B stepping onwards we have to support two Graphics Device ID.
BUG=chrome-os-partner:55449
Change-Id: I520791ad8573dc5deb6ea1e33e1486f05050438c
Signed-off-by: Abhay Kumar <abhay.kumar@intel.com>
Reviewed-on: https://review.coreboot.org/15767
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r-- | src/soc/intel/apollolake/graphics.c | 8 | ||||
-rw-r--r-- | src/soc/intel/apollolake/include/soc/pci_ids.h | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/graphics.c b/src/soc/intel/apollolake/graphics.c index 3468b3981f..ba3d5dbf2b 100644 --- a/src/soc/intel/apollolake/graphics.c +++ b/src/soc/intel/apollolake/graphics.c @@ -110,8 +110,14 @@ static const struct device_operations igd_ops = { .enable = DEVICE_NOOP }; +static const unsigned short pci_device_ids[] = { + PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_505, + PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_500, + 0, +}; + static const struct pci_driver integrated_graphics_driver __pci_driver = { .ops = &igd_ops, .vendor = PCI_VENDOR_ID_INTEL, - .device = PCI_DEVICE_ID_APOLLOLAKE_IGD, + .devices= pci_device_ids, }; diff --git a/src/soc/intel/apollolake/include/soc/pci_ids.h b/src/soc/intel/apollolake/include/soc/pci_ids.h index 0790c6ef4f..7c1a2b9e7b 100644 --- a/src/soc/intel/apollolake/include/soc/pci_ids.h +++ b/src/soc/intel/apollolake/include/soc/pci_ids.h @@ -19,7 +19,8 @@ #define _SOC_APOLLOLAKE_PCI_IDS_H_ #define PCI_DEVICE_ID_APOLLOLAKE_NB 0x5af0 /* 00:00.0 */ -#define PCI_DEVICE_ID_APOLLOLAKE_IGD 0x5a84 /* 00:02.0 */ +#define PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_505 0x5a84 /* 00:02.0 */ +#define PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_500 0x5a85 /* 00:02.0 */ #define PCI_DEVICE_ID_APOLLOLAKE_P2SB 0x5a92 /* 00:0d.0 */ #define PCI_DEVICE_ID_APOLLOLAKE_PMC 0x5a94 /* 00:0d.1 */ #define PCI_DEVICE_ID_APOLLOLAKE_HWSEQ_SPI 0x5a96 /* 00:0d.2 */ |