aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/pci
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-08-16 17:51:47 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-08-16 17:51:47 +0000
commit1457aad00b38b4745ba564b6cc803ff98c128ea2 (patch)
treed2e2aaf2e50b12e0afee7450393520c6edd86f54 /payloads/libpayload/include/pci
parent1bd3fb750de5de8ae832d902200e151002b1705a (diff)
Add #define that states the libpci interface version we implement
(flashrom needs it) Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5699 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include/pci')
-rw-r--r--payloads/libpayload/include/pci/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/libpayload/include/pci/pci.h b/payloads/libpayload/include/pci/pci.h
index 0a06604e5d..7345e7c389 100644
--- a/payloads/libpayload/include/pci/pci.h
+++ b/payloads/libpayload/include/pci/pci.h
@@ -30,6 +30,9 @@
#ifndef _PCI_PCI_H
#define _PCI_PCI_H
+/* we implement at least this version */
+#define PCI_LIB_VERSION 0x020200
+
#include <pci.h>
#define PCI_CLASS_DEVICE REG_CLASS_DEV