Skip to content

Commit

Permalink
ARM: io: remove IO_SPACE_LIMIT from platforms with ISA/PCI and 64K wi…
Browse files Browse the repository at this point in the history
…ndow

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: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Aug 17, 2011
1 parent 04e1c83 commit deb9a75
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-ebsa110/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H

#define IO_SPACE_LIMIT 0xffff

u8 __inb8(unsigned int port);
void __outb8(u8 val, unsigned int port);

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-footbridge/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#define PCIO_SIZE 0x00100000
#define PCIO_BASE MMU_IO(0xff000000, 0x7c000000)

#define IO_SPACE_LIMIT 0xffff

/*
* Translation of various region addresses to virtual addresses
*/
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-integrator/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#ifndef __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
*/
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-ixp4xx/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include <mach/hardware.h>

#define IO_SPACE_LIMIT 0x0000ffff

extern int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data);
extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-vt8500/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H

#define IO_SPACE_LIMIT 0xffff

#define __io(a) __typesafe_io((a) + 0xf0000000)
#define __mem_pci(a) (a)

Expand Down

0 comments on commit deb9a75

Please sign in to comment.