[PATCH 0/2] OpenRISC support for virt platform with PCI

Stafford Horne
2022-07-09T21:16:21Z

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-2

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 | 4 +-
arch/openrisc/include/asm/pci.h | 36 +++++++++
5 files changed, 151 insertions(+), 5 deletions(-)
create mode 100644 arch/openrisc/configs/virt_defconfig
create mode 100644 arch/openrisc/include/asm/pci.h

--
2.36.1