Path: blob/master/arch/arm/mach-davinci/include/mach/io.h
17602 views
/*1* DaVinci IO address definitions2*3* Copied from include/asm/arm/arch-omap/io.h4*5* 2007 (c) MontaVista Software, Inc. This file is licensed under6* the terms of the GNU General Public License version 2. This program7* is licensed "as is" without any warranty of any kind, whether express8* or implied.9*/10#ifndef __ASM_ARCH_IO_H11#define __ASM_ARCH_IO_H1213#define IO_SPACE_LIMIT 0xffffffff1415/*16* We don't actually have real ISA nor PCI buses, but there is so many17* drivers out there that might just work if we fake them...18*/19#define __io(a) __typesafe_io(a)20#define __mem_pci(a) (a)21#define __mem_isa(a) (a)2223#ifndef __ASSEMBLER__24#define __arch_ioremap davinci_ioremap25#define __arch_iounmap davinci_iounmap2627void __iomem *davinci_ioremap(unsigned long phys, size_t size,28unsigned int type);29void davinci_iounmap(volatile void __iomem *addr);30#endif31#endif /* __ASM_ARCH_IO_H */323334