Hello,
This is a set of kernel patches which I have been using to support the new QEMU
virt platform [1]. The virt platform supports PCI hence I have a patch here to
add PCI support to OpenRISC.
A defconfig is also included which turns on drivers supported devices include
virt network cards and the goldfish RTC.
[1] https://github.com/stffrdhrn/qemu/tree/or1k-virt-3
Changes since v1:
- Remove PIO support as suggest by Arnd
Stafford Horne (2):
openrisc: Add pci bus support
openrisc: Add virt defconfig
arch/openrisc/Kconfig | 7 +-
arch/openrisc/configs/virt_defconfig | 108 +++++++++++++++++++++++++++
arch/openrisc/include/asm/Kbuild | 1 +
arch/openrisc/include/asm/io.h | 2 +-
arch/openrisc/include/asm/pci.h | 36 +++++++++
5 files changed, 150 insertions(+), 4 deletions(-)
create mode 100644 arch/openrisc/configs/virt_defconfig
create mode 100644 arch/openrisc/include/asm/pci.h
--
2.36.1