Quinn Jensen | 52c543f | 2007-07-09 22:06:53 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | */ |
| 4 | |
| 5 | /* |
| 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. |
| 9 | */ |
| 10 | |
| 11 | /*! |
| 12 | * @file io.h |
| 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. |
| 16 | * |
| 17 | * @ingroup System |
| 18 | */ |
| 19 | |
| 20 | #ifndef __ASM_ARCH_MXC_IO_H__ |
| 21 | #define __ASM_ARCH_MXC_IO_H__ |
| 22 | |
| 23 | /*! Allow IO space to be anywhere in the memory */ |
| 24 | #define IO_SPACE_LIMIT 0xffffffff |
| 25 | |
| 26 | /*! |
| 27 | * io address mapping macro |
| 28 | */ |
| 29 | #define __io(a) ((void __iomem *)(a)) |
| 30 | |
| 31 | #define __mem_pci(a) (a) |
| 32 | |
| 33 | #endif |