diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-05-13 21:07:30 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-06-11 15:47:30 -0700 |
commit | 7e4615cd1ffc5633470b2788345455d288808f4a (patch) | |
tree | de3e118b49c2dbbb9a56612fa7b97d1cd60ee104 /arch/arm/mach-clps711x/board-edb7211.c | |
parent | 6d640edeb598dd76c64aa99357d9b59996dcb3bc (diff) | |
download | op-kernel-dev-7e4615cd1ffc5633470b2788345455d288808f4a.zip op-kernel-dev-7e4615cd1ffc5633470b2788345455d288808f4a.tar.gz |
ARM: clps711x: Move specific definitions from hardware.h to boards files
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-clps711x/board-edb7211.c')
-rw-r--r-- | arch/arm/mach-clps711x/board-edb7211.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-clps711x/board-edb7211.c b/arch/arm/mach-clps711x/board-edb7211.c index e1c5573..3ba4b9e 100644 --- a/arch/arm/mach-clps711x/board-edb7211.c +++ b/arch/arm/mach-clps711x/board-edb7211.c @@ -39,9 +39,13 @@ #define EDB7211_FLASH0_BASE (CS0_PHYS_BASE) #define EDB7211_FLASH1_BASE (CS1_PHYS_BASE) + #define EDB7211_CS8900_BASE (CS2_PHYS_BASE + 0x300) #define EDB7211_CS8900_IRQ (IRQ_EINT3) +/* The extra 8 lines of the keyboard matrix */ +#define EDB7211_EXTKBD_BASE (CS3_PHYS_BASE) + static struct resource edb7211_cs8900_resource[] __initdata = { DEFINE_RES_MEM(EDB7211_CS8900_BASE, SZ_1K), DEFINE_RES_IRQ(EDB7211_CS8900_IRQ), @@ -113,8 +117,8 @@ static struct gpio edb7211_gpios[] __initconst = { static struct map_desc edb7211_io_desc[] __initdata = { { /* Memory-mapped extra keyboard row */ - .virtual = IO_ADDRESS(EP7211_PHYS_EXTKBD), - .pfn = __phys_to_pfn(EP7211_PHYS_EXTKBD), + .virtual = IO_ADDRESS(EDB7211_EXTKBD_BASE), + .pfn = __phys_to_pfn(EDB7211_EXTKBD_BASE), .length = SZ_1M, .type = MT_DEVICE, }, |