diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2011-07-26 12:51:59 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2011-08-17 16:26:20 +0200 |
commit | c643fdd157bbd54d15276b212d1f3d0bf64cd3f9 (patch) | |
tree | fc25bd1319be8db779f328eeff779d959faf51b2 /payloads/libpayload/include/pci | |
parent | 8bbdb61113ad7f6814b198c01236411e4a3b7482 (diff) |
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>
Diffstat (limited to 'payloads/libpayload/include/pci')
-rw-r--r-- | payloads/libpayload/include/pci/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/pci/pci.h b/payloads/libpayload/include/pci/pci.h index 53da0e1756..565bdb5d7d 100644 --- a/payloads/libpayload/include/pci/pci.h +++ b/payloads/libpayload/include/pci/pci.h @@ -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;
|