diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-23 16:02:28 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-02-11 11:32:20 +0000 |
commit | 5b14116a04b4b96d25f825bef8f34caf4bd51466 (patch) | |
tree | cb624faa671d14d6363d664722502b08a5e56c81 /src/include | |
parent | 371f04811e075d79741d130e2043ec8e19044dde (diff) | |
download | coreboot-5b14116a04b4b96d25f825bef8f34caf4bd51466.tar.xz |
device/pci_early.c: Drop some guards
With PCI_DEV() always defined it is no longer
necessary to exclude this code from building.
Change-Id: I58a6348750d240aa6024599f7b1af1449f31e8ac
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31303
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h index b75020551b..f0724e0f99 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -143,7 +143,6 @@ unsigned int pci_find_next_capability(struct device *dev, unsigned int cap, unsigned int pci_find_capability(struct device *dev, unsigned int cap); #endif /* __SIMPLE_DEVICE__ */ -void pci_early_bridge_init(void); void pci_early_mmio_window(pci_devfn_t p2p_bridge, u32 mmio_base, u32 mmio_size); int pci_early_device_probe(u8 bus, u8 dev, u32 mmio_base); @@ -157,4 +156,6 @@ static inline int pci_base_address_is_memory_space(unsigned int attr) #endif /* CONFIG_PCI */ +void pci_early_bridge_init(void); + #endif /* PCI_H */ |