diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-07-06 10:59:30 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-07-26 09:10:01 -0500 |
commit | 0a4b8c654615be5dd12d67e951446095bef8b565 (patch) | |
tree | 4461defb4755a0127d92996985bb6ebf1f6748d0 /arch/arm/mach-orion5x/include/mach/io.h | |
parent | ARM: kirkwood: use fixed PCI i/o mapping (diff) | |
download | linux-dev-0a4b8c654615be5dd12d67e951446095bef8b565.tar.xz linux-dev-0a4b8c654615be5dd12d67e951446095bef8b565.zip |
ARM: orion5x: use fixed PCI i/o mapping
Move orion5x PCI to fixed i/o mapping and remove io.h.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Lennert Buytenhek <kernel@wantstofly.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-orion5x/include/mach/io.h')
-rw-r--r-- | arch/arm/mach-orion5x/include/mach/io.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-orion5x/include/mach/io.h b/arch/arm/mach-orion5x/include/mach/io.h deleted file mode 100644 index 1aa5d0a50a0b..000000000000 --- a/arch/arm/mach-orion5x/include/mach/io.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * arch/arm/mach-orion5x/include/mach/io.h - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#ifndef __ASM_ARCH_IO_H -#define __ASM_ARCH_IO_H - -#include <mach/orion5x.h> -#include <asm/sizes.h> - -#define IO_SPACE_LIMIT SZ_2M -static inline void __iomem *__io(unsigned long addr) -{ - return (void __iomem *)(addr + ORION5X_PCIE_IO_VIRT_BASE); -} - -#define __io(a) __io(a) -#endif |