1
0
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:
Antonio Vázquez Blanco
2025-07-19 20:31:53 +02:00
committed by Anastasia Klimchuk
parent b6843e012e
commit 05976c7e93
24 changed files with 72 additions and 45 deletions

View File

@@ -18,6 +18,7 @@
#include "programmer.h"
#include "platform/pci.h"
#include "platform/udelay.h"
#include "pcidev.h"
#define PCI_VENDOR_ID_ASMEDIA 0x1b21