Path: blob/master/arch/arm/mach-iop13xx/include/mach/io.h
17710 views
/*1* iop13xx custom ioremap implementation2* Copyright (c) 2005-2006, Intel Corporation.3*4* This program is free software; you can redistribute it and/or modify it5* under the terms and conditions of the GNU General Public License,6* version 2, as published by the Free Software Foundation.7*8* This program is distributed in the hope it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13* You should have received a copy of the GNU General Public License along with14* this program; if not, write to the Free Software Foundation, Inc., 59 Temple15* Place - Suite 330, Boston, MA 02111-1307 USA.16*17*/18#ifndef __ASM_ARM_ARCH_IO_H19#define __ASM_ARM_ARCH_IO_H2021#define IO_SPACE_LIMIT 0xffffffff2223#define __io(a) __iop13xx_io(a)24#define __mem_pci(a) (a)25#define __mem_isa(a) (a)2627extern void __iomem * __iop13xx_io(unsigned long io_addr);28extern void __iomem *__iop13xx_ioremap(unsigned long cookie, size_t size,29unsigned int mtype);30extern void __iop13xx_iounmap(void __iomem *addr);3132extern u32 iop13xx_atue_mem_base;33extern u32 iop13xx_atux_mem_base;34extern size_t iop13xx_atue_mem_size;35extern size_t iop13xx_atux_mem_size;3637#define __arch_ioremap __iop13xx_ioremap38#define __arch_iounmap __iop13xx_iounmap3940#endif414243