device/pci_early: Drop some __SIMPLE_DEVICE__ use
The simple PCI config accessors are always available under names pci_s_[read|write]_configX. We have some use for PCI bridge configurations and resets in romstages, so expose them. Change-Id: Ia97a4e1f1b4c80b3dae800d80615bdc118414ed3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35672 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -116,8 +116,10 @@ struct msix_entry *pci_msix_get_table(struct device *dev);
|
||||
pci_devfn_t pci_locate_device(unsigned int pci_id, pci_devfn_t dev);
|
||||
pci_devfn_t pci_locate_device_on_bus(unsigned int pci_id, unsigned int bus);
|
||||
|
||||
void pci_early_mmio_window(pci_devfn_t p2p_bridge, u32 mmio_base,
|
||||
u32 mmio_size);
|
||||
void pci_s_assert_secondary_reset(pci_devfn_t p2p_bridge);
|
||||
void pci_s_deassert_secondary_reset(pci_devfn_t p2p_bridge);
|
||||
void pci_s_bridge_set_secondary(pci_devfn_t p2p_bridge, u8 secondary);
|
||||
|
||||
int pci_early_device_probe(u8 bus, u8 dev, u32 mmio_base);
|
||||
|
||||
static inline int pci_base_address_is_memory_space(unsigned int attr)
|
||||
|
Reference in New Issue
Block a user