From 9090ff91e175423ee6dce4fc36b338135435b8a3 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sun, 25 Aug 2013 12:35:09 +0200 Subject: libpayload: Add a few more PCI constants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/3884 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- payloads/libpayload/include/pci/pci.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'payloads/libpayload') 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 +#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 -- cgit v1.2.3