2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
13 * @brief This file contains some memory mapping macros.
14 * @note There is no real ISA or PCI buses. But have to define these macros
15 * for some drivers to compile.
20 #ifndef __ASM_ARCH_MXC_IO_H__
21 #define __ASM_ARCH_MXC_IO_H__
23 /*! Allow IO space to be anywhere in the memory */
24 #define IO_SPACE_LIMIT 0xffffffff
27 * io address mapping macro
29 #define __io(a) ((void __iomem *)(a))
31 #define __mem_pci(a) (a)