WIP FPC-III support
[linux/fpc-iii.git] / arch / openrisc / include / asm / io.h
blob7d6b4a77b379d8e2f14aeb862128e481e8b20850
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>
20 * PCI: can we really do 0 here if we have no port IO?
22 #define IO_SPACE_LIMIT 0
24 /* OpenRISC has no port IO */
25 #define HAVE_ARCH_PIO_SIZE 1
26 #define PIO_RESERVED 0X0UL
27 #define PIO_OFFSET 0
28 #define PIO_MASK 0
30 #define ioremap ioremap
31 void __iomem *ioremap(phys_addr_t offset, unsigned long size);
33 #define iounmap iounmap
34 extern void iounmap(void *addr);
36 #include <asm-generic/io.h>
38 #endif