arch/arm,mips: Use generic PCI MMCONF
We need the stub header file. If PCI was implemented, assume generic MMIO mapped configuration space would work here. Change-Id: Ia731e5c5a6725fe22ab8b0398cafa1127ed90891 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35648 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
f485d91141
commit
a67eaec0d0
|
@ -14,16 +14,6 @@
|
|||
#ifndef ARCH_ARM_PCI_OPS_H
|
||||
#define ARCH_ARM_PCI_OPS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <device/pci_type.h>
|
||||
|
||||
#ifdef __SIMPLE_DEVICE__
|
||||
u8 pci_read_config8(pci_devfn_t dev, unsigned int where);
|
||||
u16 pci_read_config16(pci_devfn_t dev, unsigned int where);
|
||||
u32 pci_read_config32(pci_devfn_t dev, unsigned int where);
|
||||
void pci_write_config8(pci_devfn_t dev, unsigned int where, u8 val);
|
||||
void pci_write_config16(pci_devfn_t dev, unsigned int where, u16 val);
|
||||
void pci_write_config32(pci_devfn_t dev, unsigned int where, u32 val);
|
||||
#endif
|
||||
#include <device/pci_mmio_cfg.h>
|
||||
|
||||
#endif
|
||||
|
|
|
@ -14,16 +14,6 @@
|
|||
#ifndef ARCH_MIPS_PCI_OPS_H
|
||||
#define ARCH_MIPS_PCI_OPS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <device/pci_type.h>
|
||||
|
||||
#ifdef __SIMPLE_DEVICE__
|
||||
u8 pci_read_config8(pci_devfn_t dev, unsigned int where);
|
||||
u16 pci_read_config16(pci_devfn_t dev, unsigned int where);
|
||||
u32 pci_read_config32(pci_devfn_t dev, unsigned int where);
|
||||
void pci_write_config8(pci_devfn_t dev, unsigned int where, u8 val);
|
||||
void pci_write_config16(pci_devfn_t dev, unsigned int where, u16 val);
|
||||
void pci_write_config32(pci_devfn_t dev, unsigned int where, u32 val);
|
||||
#endif
|
||||
#include <device/pci_mmio_cfg.h>
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue