mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 02:04:05 +08:00
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>
This commit is contained in:
parent
4c834452aa
commit
a8a28affc3
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user