Stefan Tauner (stefan.tauner@gmx.at) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3884
-gerrit
commit 5e4f97222d3cf0ab8d78e0a2baf1459050be6533 Author: Stefan Tauner stefan.tauner@gmx.at Date: Sun Aug 25 01:00:32 2013 +0200
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 --- payloads/libpayload/include/pci/pci.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/payloads/libpayload/include/pci/pci.h b/payloads/libpayload/include/pci/pci.h index c078bb5..09fbff9 100644 --- a/payloads/libpayload/include/pci/pci.h +++ b/payloads/libpayload/include/pci/pci.h @@ -44,6 +44,10 @@ #define PCI_COMMAND_MEMORY REG_COMMAND_MEM #define PCI_COMMAND_MASTER REG_COMMAND_BM
+#define PCI_REVISION_ID REG_REVISION_ID +#define PCI_CLASS_PROG REG_PROG_IF +#define PCI_CLASS_DEVICE REG_SUBCLASS + #define PCI_HEADER_TYPE REG_HEADER_TYPE #define PCI_HEADER_TYPE_NORMAL HEADER_TYPE_NORMAL #define PCI_HEADER_TYPE_BRIDGE HEADER_TYPE_BRIDGE