summaryrefslogtreecommitdiff
path: root/arch/openrisc/include/asm/Kbuild
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2022-06-12 02:42:33 +0300
committerStafford Horne <shorne@gmail.com>2022-07-29 23:50:15 +0300
commitded2ee36313c941f1a12b6f85cde295b575264ae (patch)
treee9b85fcdb4ac99508d8323040a8059cbe68f9ec9 /arch/openrisc/include/asm/Kbuild
parent0757060a438835df82bd8aec40d4abc7dc4c9584 (diff)
downloadlinux-ded2ee36313c941f1a12b6f85cde295b575264ae.tar.xz
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>
Diffstat (limited to 'arch/openrisc/include/asm/Kbuild')
-rw-r--r--arch/openrisc/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
index 3386b9c1c073..c8c99b554ca4 100644
--- a/arch/openrisc/include/asm/Kbuild
+++ b/arch/openrisc/include/asm/Kbuild
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
generic-y += extable.h
generic-y += kvm_para.h
+generic-y += parport.h
generic-y += spinlock_types.h
generic-y += spinlock.h
generic-y += qrwlock_types.h