summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/include
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron00@gmail.com>2020-12-07 22:56:47 +0000
committerHung-Te Lin <hungte@chromium.org>2020-12-28 13:37:47 +0000
commitd0701c96f20d4b3d04c42c13b1e015d6aa27f1d4 (patch)
treefe19d614e4c8f4a489da6ff9d7274a0b4e715ff9 /src/soc/intel/skylake/include
parentb8cb142ccd1922f8f0a245923eabaed5030048e5 (diff)
soc/intel/skylake: Enable CHAP device depending on devicetree
Now that CHAP device is declared in chipset devicetree, hook it up to devicetree configuration. Change-Id: Icc51f7b9cda32d5058dce958e386921b6d3d8ffb Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48323 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/skylake/include')
-rw-r--r--src/soc/intel/skylake/include/soc/pci_devs.h4
1 files changed, 4 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 319a12b53a..661ed5cd65 100644
--- a/src/soc/intel/skylake/include/soc/pci_devs.h
+++ b/src/soc/intel/skylake/include/soc/pci_devs.h
@@ -42,6 +42,10 @@
#define SA_DEVFN_IMGU PCI_DEVFN(SA_DEV_SLOT_IMGU, 0)
#define SA_DEV_IMGU PCI_DEV(0, SA_DEV_SLOT_IMGU, 0)
+#define SA_DEV_SLOT_CHAP 0x07
+#define SA_DEVFN_CHAP PCI_DEVFN(SA_DEV_SLOT_CHAP, 0)
+#define SA_DEV_CHAP PCI_DEV(0, SA_DEV_SLOT_CHAP, 0)
+
#define SA_DEV_SLOT_GMM 0x08
#define SA_DEVFN_GMM PCI_DEVFN(SA_DEV_SLOT_GMM, 0)
#define SA_DEV_GMM PCI_DEV(0, SA_DEV_SLOT_GMM, 0)