1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

Hide hwaccess.h from public API

Move hwaccess.h #include from flash.h to individual drivers.
libflashrom users need flash.h, but they do not care about hwaccess.h
and should not see its definitions because they may conflict with
other hardware access functions and #defines used by the libflashrom
user.

Corresponding to flashrom svn r1549.

Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Patrick Georgi
2012-07-20 20:35:14 +00:00
committed by Carl-Daniel Hailfinger
parent 3834c2d7e5
commit 32508eb304
26 changed files with 26 additions and 1 deletions

View File

@ -144,6 +144,7 @@ struct bitbang_spi_master {
};
#if CONFIG_INTERNAL == 1
struct pci_dev;
struct penable {
uint16_t vendor_id;
uint16_t device_id;
@ -294,6 +295,7 @@ extern int superio_count;
#define SUPERIO_VENDOR_WINBOND 0x2
#endif
#if NEED_PCI == 1
struct pci_filter;
struct pci_dev *pci_dev_find_filter(struct pci_filter filter);
struct pci_dev *pci_dev_find_vendorclass(uint16_t vendor, uint16_t devclass);
struct pci_dev *pci_dev_find(uint16_t vendor, uint16_t device);