libpayload: Some more compatibility (for flashrom)
libpci defines an arbitrary set of PCI vendor IDs, flashrom uses the Intel definition. Add it. flashrom also requires inttypes.h, so add the OpenBSD version Change-Id: I9bffd8193f635c375ac4d6b6eae8d3d876b95f5f Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/154 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
8bbdb61113
commit
c643fdd157
@ -65,6 +65,8 @@
|
||||
#define PCI_ROM_ADDRESS1 0x38 // on bridges
|
||||
#define PCI_ROM_ADDRESS_MASK ~0x7ff
|
||||
|
||||
#define PCI_VENDOR_ID_INTEL 0x8086
|
||||
|
||||
struct pci_dev {
|
||||
u16 domain;
|
||||
u8 bus, dev, func;
|
||||
|
Reference in New Issue
Block a user