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>
This commit is contained in:
Abhay Kumar 2016-07-20 17:48:55 -07:00 committed by Duncan Laurie
parent 4b1668fd12
commit 67870f508f
2 changed files with 9 additions and 2 deletions

View File

@ -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,
};

View File

@ -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 */