mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
NEED_PCI: remove macro
The NEED_PCI macro is only used to guard prototypes. This is not needed. Change-Id: I6895b795bc96b3e251700bff4b0054407aac789a Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/62834 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
a2be4c9dc6
commit
48fef95b79
@ -115,7 +115,6 @@ struct bitbang_spi_master {
|
||||
unsigned int half_period;
|
||||
};
|
||||
|
||||
#if NEED_PCI == 1
|
||||
struct pci_dev;
|
||||
struct pci_filter;
|
||||
|
||||
@ -141,7 +140,6 @@ struct pci_dev *pcidev_find(uint16_t vendor, uint16_t device);
|
||||
int rpci_write_byte(struct pci_dev *dev, int reg, uint8_t data);
|
||||
int rpci_write_word(struct pci_dev *dev, int reg, uint16_t data);
|
||||
int rpci_write_long(struct pci_dev *dev, int reg, uint32_t data);
|
||||
#endif
|
||||
|
||||
#if CONFIG_INTERNAL == 1
|
||||
struct penable {
|
||||
|
Reference in New Issue
Block a user