[coreboot-gerrit] Change in coreboot[master]: common/block/xhci: Get XHCI PCI ID from device/pci_ids.h

Subrata Banik (Code Review) gerrit at coreboot.org
Wed May 3 10:17:07 CEST 2017


Subrata Banik has uploaded a new change for review. ( https://review.coreboot.org/19536 )

Change subject: common/block/xhci: Get XHCI PCI ID from device/pci_ids.h
......................................................................

common/block/xhci: Get XHCI PCI ID from device/pci_ids.h

Change-Id: I33d92a173055ea18b8675c720f01dd5bc77befa3
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/include/device/pci_ids.h
M src/soc/intel/common/block/xhci/xhci.c
2 files changed, 10 insertions(+), 4 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/19536/1

diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index fe5245a..910d058 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -2659,12 +2659,18 @@
 #define PCI_DEVICE_ID_INTEL_LYNXPOINT_MOB_DESK_MAX 0x8c4f
 
 /* Intel Skylake Device IDS */
+#define PCI_DEVICE_ID_INTEL_SKYLAKE_LP_XHCI 0x9d2f
 #define PCI_DEVICE_ID_INTEL_SKYLAKE_LP_XDCI 0x9d30
 
+/* Intel Kabylake Device IDS */
+#define PCI_DEVICE_ID_INTEL_KABYLAKE_H_XHCI 0xa12f
+
 /* Intel Apollolake Device IDS */
+#define PCI_DEVICE_ID_INTEL_APOLLOLAKE_XHCI 0x5aa8
 #define PCI_DEVICE_ID_INTEL_APOLLOLAKE_XDCI 0x5aaa
 
 /* Intel GLK Device IDS */
+#define PCI_DEVICE_ID_INTEL_GLK_XHCI 0x31a8
 #define PCI_DEVICE_ID_INTEL_GLK_XDCI 0x31aa
 
 #define PCI_VENDOR_ID_COMPUTONE		0x8e0e
diff --git a/src/soc/intel/common/block/xhci/xhci.c b/src/soc/intel/common/block/xhci/xhci.c
index 32fad93..d389aac 100644
--- a/src/soc/intel/common/block/xhci/xhci.c
+++ b/src/soc/intel/common/block/xhci/xhci.c
@@ -30,10 +30,10 @@
 };
 
 static const unsigned short pci_device_ids[] = {
-	0x5aa8, /* ApolloLake */
-	0x31a8, /* GLK */
-	0x9d2f, /* SunRisePoint LP */
-	0xa12f, /* KBL-H*/
+	PCI_DEVICE_ID_INTEL_APOLLOLAKE_XHCI,
+	PCI_DEVICE_ID_INTEL_GLK_XHCI,
+	PCI_DEVICE_ID_INTEL_SKYLAKE_LP_XHCI,
+	PCI_DEVICE_ID_INTEL_KABYLAKE_H_XHCI,
 	0
 };
 

-- 
To view, visit https://review.coreboot.org/19536
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33d92a173055ea18b8675c720f01dd5bc77befa3
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>



More information about the coreboot-gerrit mailing list