summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2017-08-01 12:15:04 +0200
committerNico Huber <nico.h@gmx.de>2017-08-10 16:41:16 +0000
commitabc69cd0016748a3348a416daa063929a901b6d8 (patch)
tree5433d9856eba88ca93191f9193468498c9b0114a /payloads
parentea4ece61b6fc787c652a193ecd04c075daca3158 (diff)
libpayload/libpci: Add a constant for PCI class memory other
Change-Id: I71e902c4ec843608c1518fe1e8b90fbcf98a13d1 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/20930 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/include/pci/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/pci/pci.h b/payloads/libpayload/include/pci/pci.h
index 6ce4dde672..ee79d45db7 100644
--- a/payloads/libpayload/include/pci/pci.h
+++ b/payloads/libpayload/include/pci/pci.h
@@ -67,6 +67,8 @@
#define PCI_ROM_ADDRESS1 0x38 // on bridges
#define PCI_ROM_ADDRESS_MASK ~0x7ff
+#define PCI_CLASS_MEMORY_OTHER 0x0580
+
#define PCI_VENDOR_ID_INTEL 0x8086
struct pci_dev {