Tzachi Perelstein | 585cf17 | 2007-10-23 15:14:41 -0400 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-arm/arch-orion/io.h |
| 3 | * |
| 4 | * Tzachi Perelstein <tzachi@marvell.com> |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public |
| 7 | * License version 2. This program is licensed "as is" without any |
| 8 | * warranty of any kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_ARM_ARCH_IO_H |
| 12 | #define __ASM_ARM_ARCH_IO_H |
| 13 | |
| 14 | #include "orion.h" |
| 15 | |
| 16 | #define IO_SPACE_LIMIT 0xffffffff |
| 17 | #define IO_SPACE_REMAP ORION_PCI_SYS_IO_BASE |
| 18 | |
| 19 | static inline void __iomem *__io(unsigned long addr) |
| 20 | { |
| 21 | return (void __iomem *)addr; |
| 22 | } |
| 23 | |
| 24 | #define __io(a) __io(a) |
| 25 | #define __mem_pci(a) (a) |
| 26 | |
| 27 | #endif |