summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2013-08-25 12:35:09 +0200
committerStefan Tauner <stefan.tauner@gmx.at>2013-08-26 00:24:53 +0200
commit9090ff91e175423ee6dce4fc36b338135435b8a3 (patch)
treea36b83d6ee974ebcdffb3bfabfb9d6aceec38f20 /payloads
parent021fa78bcae3224ca8bcdb7a0f5acbd5e90ab897 (diff)
downloadcoreboot-9090ff91e175423ee6dce4fc36b338135435b8a3.tar.xz
libpayload: Add a few more PCI constants
flashrom has started to use revision IDs to distinguish AMD chipsets and fails (even more) to build with libpayload since then because PCI_REVISION_ID is undefined in libpayload's pci header. Change-Id: If7440a48c1005a4ba4fc09303f47cdfa9f408ad1 Signed-off-by: Stefan Tauner <stefan.tauner@gmx.at> Reviewed-on: http://review.coreboot.org/3884 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.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 c078bb5dbf..47d62bc3dd 100644
--- a/payloads/libpayload/include/pci/pci.h
+++ b/payloads/libpayload/include/pci/pci.h
@@ -35,6 +35,8 @@
#include <pci.h>
+#define PCI_REVISION_ID REG_REVISION_ID
+#define PCI_CLASS_PROG REG_PROG_IF
#define PCI_CLASS_DEVICE REG_SUBCLASS
#define PCI_SUBSYSTEM_VENDOR_ID REG_SUBSYS_VENDOR_ID
#define PCI_SUBSYSTEM_ID REG_SUBSYS_ID