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>
This commit is contained in:
parent
021fa78bca
commit
9090ff91e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue