summaryrefslogtreecommitdiffstats
path: root/nicintel_eeprom.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2021-11-02 21:03:00 +0100
committerNico Huber <nico.h@gmx.de>2021-12-22 12:33:15 +0000
commit88c871e74cb9d8b6f6f38747d1caae916364e2a2 (patch)
tree976da5400ced468d2b1862977a2c138c2ae32f54 /nicintel_eeprom.c
parent9469f81d8f8154e7e71890ca94aaee8d550093ac (diff)
downloadflashrom-88c871e74cb9d8b6f6f38747d1caae916364e2a2.tar.gz
flashrom-88c871e74cb9d8b6f6f38747d1caae916364e2a2.tar.bz2
flashrom-88c871e74cb9d8b6f6f38747d1caae916364e2a2.zip
pci.h: move include into own wrapper
Split the include of hwaccess and libpci. There is no need to have pci.h included in hwaccess. Change-Id: Ibf00356f0ef5cc92e0ec99f8fe5cdda56f47b166 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58883 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'nicintel_eeprom.c')
-rw-r--r--nicintel_eeprom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nicintel_eeprom.c b/nicintel_eeprom.c
index 58870732c..ab7534349 100644
--- a/nicintel_eeprom.c
+++ b/nicintel_eeprom.c
@@ -35,6 +35,7 @@
#include "spi.h"
#include "programmer.h"
#include "hwaccess.h"
+#include "platform/pci.h"
#define PCI_VENDOR_ID_INTEL 0x8086
#define MEMMAP_SIZE 0x1c /* Only EEC, EERD and EEWR are needed. */