diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-07-10 07:43:33 +0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-07-26 18:10:01 +0400 |
commit | 2bb080851a5193a10b89d3f550c60240ef401aa1 (patch) | |
tree | c063c109a4081c23208153552065faab4574c6fb /arch/arm/mach-kirkwood/include/mach/io.h | |
parent | d191bb6961ab5f8de9b20b9540b81f352f5dd765 (diff) | |
download | linux-2bb080851a5193a10b89d3f550c60240ef401aa1.tar.xz |
ARM: kirkwood: use fixed PCI i/o mapping
Move kirkwood 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>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-kirkwood/include/mach/io.h')
-rw-r--r-- | arch/arm/mach-kirkwood/include/mach/io.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-kirkwood/include/mach/io.h b/arch/arm/mach-kirkwood/include/mach/io.h deleted file mode 100644 index 5d0ab61700d2..000000000000 --- a/arch/arm/mach-kirkwood/include/mach/io.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * arch/arm/mach-kirkwood/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 "kirkwood.h" - -#define IO_SPACE_LIMIT 0xffffffff - -static inline void __iomem *__io(unsigned long addr) -{ - return (void __iomem *)((addr - KIRKWOOD_PCIE_IO_BUS_BASE) - + KIRKWOOD_PCIE_IO_VIRT_BASE); -} - -#define __io(a) __io(a) - -#endif |