openrisc: Add pci bus support
authorStafford Horne <shorne@gmail.com>
Sat, 11 Jun 2022 23:42:33 +0000 (08:42 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 29 Jul 2022 20:50:15 +0000 (05:50 +0900)
commitded2ee36313c941f1a12b6f85cde295b575264ae
treee9b85fcdb4ac99508d8323040a8059cbe68f9ec9
parent0757060a438835df82bd8aec40d4abc7dc4c9584
openrisc: Add pci bus support

This patch adds required definitions to allow for PCI buses on OpenRISC.
This is being tested on the OpenRISC QEMU virt platform which is in
development.

OpenRISC does not have IO ports so we keep the definition of
IO_SPACE_LIMIT and PIO_RESERVED to be 0.

Note, since commit 66bcd06099bb ("parport_pc: Also enable driver for PCI
systems") all platforms that support PCI also need to support parallel
port.  We add a generic header to support compiling parallel port
drivers, though they generally will not work as they require IO ports.

Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/Kconfig
arch/openrisc/include/asm/Kbuild
arch/openrisc/include/asm/io.h