summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-06-19 19:26:33 +0400
committerOlof Johansson <olof@lixom.net>2014-07-06 16:51:57 -0700
commita8a28affc37a230ce86da01a2de207b55b49bb09 (patch)
treec88ab24a4869404226e305c0a3dd32e8ea90980d
parent4c834452aad01531db949414f94f817a86348d59 (diff)
downloadlinux-a8a28affc37a230ce86da01a2de207b55b49bb09.tar.bz2
ARM: clps711x: Remove IO_ADDRESS() macro
All uses of the IO_ADDRESS() macro has been removed. This patch removes the definition of this macro. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/mach-clps711x/include/mach/hardware.h5
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 @@
#include <mach/clps711x.h>
-#define IO_ADDRESS(x) (0xdc000000 + (((x) & 0x03ffffff) | \
- (((x) >> 2) & 0x3c000000)))
-
-#define CLPS711X_VIRT_BASE IOMEM(IO_ADDRESS(CLPS711X_PHYS_BASE))
+#define CLPS711X_VIRT_BASE IOMEM(0xfe000000)
#ifndef __ASSEMBLY__
#define clps_readb(off) readb(CLPS711X_VIRT_BASE + (off))