mirror of
https://review.coreboot.org/flashrom.git
synced 2025-09-18 02:45:23 +02:00
pcidev.h: Extract pcidev declarations to a separate header
This patch moves all the declarations relevant to PCI into their own header in include/pcidev.h This is a simple refactor that aims to simplify maintenance and to clarify file dependency inside the project. Currently, most of the declarations reside in programmer.h making it difficult to really understand file dependency. Change-Id: Ie7cefa012d43e03d2d3886f1567ad9b3fe1b148c Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/89094 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
b6843e012e
commit
05976c7e93
@@ -36,6 +36,7 @@
|
||||
#include "hwaccess_physmap.h"
|
||||
#include "platform/pci.h"
|
||||
#include "platform/udelay.h"
|
||||
#include "pcidev.h"
|
||||
|
||||
#define PCI_VENDOR_ID_INTEL 0x8086
|
||||
#define MEMMAP_SIZE 0x1c /* Only EEC, EERD and EEWR are needed. */
|
||||
|
Reference in New Issue
Block a user