1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

Move global io_base_addr into compilation units

Corresponding to flashrom svn r1813.

Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Stefan Tauner
2014-06-01 23:49:03 +00:00
parent 72d42f87a9
commit 0ccec8f212
10 changed files with 10 additions and 7 deletions

View File

@ -173,8 +173,7 @@ struct bitbang_spi_master {
struct pci_dev;
/* pcidev.c */
// FIXME: These need to be local, not global
extern uint32_t io_base_addr;
// FIXME: This needs to be local, not global(?)
extern struct pci_access *pacc;
int pci_init_common(void);
uintptr_t pcidev_readbar(struct pci_dev *dev, int bar);