Commit deb9a75e authored by Russell King's avatar Russell King

ARM: io: remove IO_SPACE_LIMIT from platforms with ISA/PCI and 64K window

Remove IO_SPACE_LIMIT definitions from platforms which have a well
defined ISA or PCI, and has a 64K window.

EBSA110 - well defined set of ISA devices.
Footbridge, Integrator, IXP4xx, VT8500 - PCI platforms.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 04e1c838
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#ifndef __ASM_ARM_ARCH_IO_H #ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H #define __ASM_ARM_ARCH_IO_H
#define IO_SPACE_LIMIT 0xffff
u8 __inb8(unsigned int port); u8 __inb8(unsigned int port);
void __outb8(u8 val, unsigned int port); void __outb8(u8 val, unsigned int port);
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#define PCIO_SIZE 0x00100000 #define PCIO_SIZE 0x00100000
#define PCIO_BASE MMU_IO(0xff000000, 0x7c000000) #define PCIO_BASE MMU_IO(0xff000000, 0x7c000000)
#define IO_SPACE_LIMIT 0xffff
/* /*
* Translation of various region addresses to virtual addresses * Translation of various region addresses to virtual addresses
*/ */
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef __ASM_ARM_ARCH_IO_H #ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H #define __ASM_ARM_ARCH_IO_H
#define IO_SPACE_LIMIT 0xffff
/* /*
* WARNING: this has to mirror definitions in platform.h * WARNING: this has to mirror definitions in platform.h
*/ */
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#define IO_SPACE_LIMIT 0x0000ffff
extern int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data); extern int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data);
extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data); extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef __ASM_ARM_ARCH_IO_H #ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H #define __ASM_ARM_ARCH_IO_H
#define IO_SPACE_LIMIT 0xffff
#define __io(a) __typesafe_io((a) + 0xf0000000) #define __io(a) __typesafe_io((a) + 0xf0000000)
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment