mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
4b1668fd12
commit
67870f508f
2 changed files with 9 additions and 2 deletions
|
@ -110,8 +110,14 @@ static const struct device_operations igd_ops = {
|
||||||
.enable = DEVICE_NOOP
|
.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 = {
|
static const struct pci_driver integrated_graphics_driver __pci_driver = {
|
||||||
.ops = &igd_ops,
|
.ops = &igd_ops,
|
||||||
.vendor = PCI_VENDOR_ID_INTEL,
|
.vendor = PCI_VENDOR_ID_INTEL,
|
||||||
.device = PCI_DEVICE_ID_APOLLOLAKE_IGD,
|
.devices= pci_device_ids,
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
#define _SOC_APOLLOLAKE_PCI_IDS_H_
|
#define _SOC_APOLLOLAKE_PCI_IDS_H_
|
||||||
|
|
||||||
#define PCI_DEVICE_ID_APOLLOLAKE_NB 0x5af0 /* 00:00.0 */
|
#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_P2SB 0x5a92 /* 00:0d.0 */
|
||||||
#define PCI_DEVICE_ID_APOLLOLAKE_PMC 0x5a94 /* 00:0d.1 */
|
#define PCI_DEVICE_ID_APOLLOLAKE_PMC 0x5a94 /* 00:0d.1 */
|
||||||
#define PCI_DEVICE_ID_APOLLOLAKE_HWSEQ_SPI 0x5a96 /* 00:0d.2 */
|
#define PCI_DEVICE_ID_APOLLOLAKE_HWSEQ_SPI 0x5a96 /* 00:0d.2 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue