diff options
| -rw-r--r-- | arch/arm/mach-clps711x/include/mach/hardware.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-clps711x/include/mach/hardware.h b/arch/arm/mach-clps711x/include/mach/hardware.h index 5d6afda1c0e8..292cbcb0ecad 100644 --- a/arch/arm/mach-clps711x/include/mach/hardware.h +++ b/arch/arm/mach-clps711x/include/mach/hardware.h | |||
| @@ -24,10 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include <mach/clps711x.h> | 25 | #include <mach/clps711x.h> |
| 26 | 26 | ||
| 27 | #define IO_ADDRESS(x) (0xdc000000 + (((x) & 0x03ffffff) | \ | 27 | #define CLPS711X_VIRT_BASE IOMEM(0xfe000000) |
| 28 | (((x) >> 2) & 0x3c000000))) | ||
| 29 | |||
| 30 | #define CLPS711X_VIRT_BASE IOMEM(IO_ADDRESS(CLPS711X_PHYS_BASE)) | ||
| 31 | 28 | ||
| 32 | #ifndef __ASSEMBLY__ | 29 | #ifndef __ASSEMBLY__ |
| 33 | #define clps_readb(off) readb(CLPS711X_VIRT_BASE + (off)) | 30 | #define clps_readb(off) readb(CLPS711X_VIRT_BASE + (off)) |
