summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-08-11 06:47:18 +0200
committerMichael Niewöhner <c0d3z3r0@review.coreboot.org>2020-08-14 20:59:12 +0000
commite1528fe3588a63fa712fe7d0dee1c9d2a47e7a48 (patch)
tree7f36b2d9d50a99d962f99a48dd9a7c4762ee58bf
parent98c987a65a4ddacba5851ef7298efc7159b5f62e (diff)
soc/intel/skylake: Add PEG device definitions to pci_devs.h
Change-Id: Ib2453425f44e2b4abd5566f454ae68b704dbc33e Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44366 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
-rw-r--r--src/soc/intel/skylake/include/soc/pci_devs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/include/soc/pci_devs.h b/src/soc/intel/skylake/include/soc/pci_devs.h
index 7838c20490..319a12b53a 100644
--- a/src/soc/intel/skylake/include/soc/pci_devs.h
+++ b/src/soc/intel/skylake/include/soc/pci_devs.h
@@ -23,6 +23,12 @@
#endif
#define SA_DEV_SLOT_PEG 0x01
+#define SA_DEVFN_PEG0 PCI_DEVFN(SA_DEV_SLOT_PEG, 0)
+#define SA_DEVFN_PEG1 PCI_DEVFN(SA_DEV_SLOT_PEG, 1)
+#define SA_DEVFN_PEG2 PCI_DEVFN(SA_DEV_SLOT_PEG, 2)
+#define SA_DEV_PEG0 PCI_DEV(0, SA_DEV_SLOT_PEG, 0)
+#define SA_DEV_PEG1 PCI_DEV(0, SA_DEV_SLOT_PEG, 1)
+#define SA_DEV_PEG2 PCI_DEV(0, SA_DEV_SLOT_PEG, 2)
#define SA_DEV_SLOT_IGD 0x02
#define SA_DEVFN_IGD PCI_DEVFN(SA_DEV_SLOT_IGD, 0)