Add #define that states the libpci interface version we implement
authorPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 16 Aug 2010 17:51:47 +0000 (17:51 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Mon, 16 Aug 2010 17:51:47 +0000 (17:51 +0000)
(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

payloads/libpayload/include/pci/pci.h

index 0a06604e5dcbbef84a1382c0816ae25ba575c127..7345e7c38912fc1aab47f33a1a8d99914fd236f5 100644 (file)
@@ -30,6 +30,9 @@
 #ifndef _PCI_PCI_H\r
 #define _PCI_PCI_H\r
 \r
+/* we implement at least this version */\r
+#define PCI_LIB_VERSION 0x020200\r
+\r
 #include <pci.h>\r
 \r
 #define PCI_CLASS_DEVICE       REG_CLASS_DEV\r