Linux 6.13-rc4
[linux.git] / arch / openrisc / include / asm / io.h
blob5a6f0f16a5ce5b74639a117a8b2a744835b457cf
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * OpenRISC Linux
5 * Linux architectural port borrowing liberally from similar works of
6 * others. All original copyrights apply as per the original source
7 * declaration.
9 * OpenRISC implementation:
10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
11 * et al.
14 #ifndef __ASM_OPENRISC_IO_H
15 #define __ASM_OPENRISC_IO_H
17 #include <linux/types.h>
18 #include <asm/pgalloc.h>
19 #include <asm/pgtable.h>
22 * PCI: We do not use IO ports in OpenRISC
24 #define IO_SPACE_LIMIT 0
26 /* OpenRISC has no port IO */
27 #define HAVE_ARCH_PIO_SIZE 1
28 #define PIO_RESERVED 0X0UL
29 #define PIO_OFFSET 0
30 #define PIO_MASK 0
33 * I/O memory mapping functions.
35 #define _PAGE_IOREMAP (pgprot_val(PAGE_KERNEL) | _PAGE_CI)
37 #include <asm-generic/io.h>
39 #endif