]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: clps711x: Remove IO_ADDRESS() macro
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 19 Jun 2014 15:26:33 +0000 (19:26 +0400)
committerOlof Johansson <olof@lixom.net>
Sun, 6 Jul 2014 23:51:57 +0000 (16:51 -0700)
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>
arch/arm/mach-clps711x/include/mach/hardware.h

index 5d6afda1c0e8251ccfca3a905b5886185c25da88..292cbcb0ecad5591f667097014c8d23bf6e44f51 100644 (file)
 
 #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))