Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 1 | /* |
| 2 | * DaVinci IO address definitions |
| 3 | * |
| 4 | * Copied from include/asm/arm/arch-omap/io.h |
| 5 | * |
| 6 | * 2007 (c) MontaVista Software, Inc. This file is licensed under |
| 7 | * the terms of the GNU General Public License version 2. This program |
| 8 | * is licensed "as is" without any warranty of any kind, whether express |
| 9 | * or implied. |
| 10 | */ |
| 11 | #ifndef __ASM_ARCH_IO_H |
| 12 | #define __ASM_ARCH_IO_H |
| 13 | |
| 14 | #define IO_SPACE_LIMIT 0xffffffff |
| 15 | |
| 16 | /* |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 17 | * We don't actually have real ISA nor PCI buses, but there is so many |
| 18 | * drivers out there that might just work if we fake them... |
| 19 | */ |
Russell King | 0560cf5 | 2008-11-30 11:45:54 +0000 | [diff] [blame] | 20 | #define __io(a) __typesafe_io(a) |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 21 | #define __mem_pci(a) (a) |
| 22 | #define __mem_isa(a) (a) |
| 23 | |
Hemant Pedanekar | 9eb7115 | 2009-06-24 10:15:47 +0530 | [diff] [blame^] | 24 | #ifndef __ASSEMBLER__ |
Kevin Hilman | f5c122d | 2009-04-14 07:04:16 -0500 | [diff] [blame] | 25 | #define __arch_ioremap(p, s, t) davinci_ioremap(p, s, t) |
| 26 | #define __arch_iounmap(v) davinci_iounmap(v) |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 27 | |
Kevin Hilman | f5c122d | 2009-04-14 07:04:16 -0500 | [diff] [blame] | 28 | void __iomem *davinci_ioremap(unsigned long phys, size_t size, |
| 29 | unsigned int type); |
| 30 | void davinci_iounmap(volatile void __iomem *addr); |
Hemant Pedanekar | 9eb7115 | 2009-06-24 10:15:47 +0530 | [diff] [blame^] | 31 | #endif |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 32 | #endif /* __ASM_ARCH_IO_H */ |