diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2012-10-10 19:45:31 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-10-25 17:22:35 +0200 |
commit | 6cb1b145b912721f7a00f3fb5938765b34558b08 (patch) | |
tree | 208a150411995cc7ae159c31ea8bd8799272bf2b /arch/arm/mach-clps711x/p720t.c | |
parent | 36504ac131d14611dded451dd8b9f8426d084111 (diff) | |
download | talos-obmc-linux-6cb1b145b912721f7a00f3fb5938765b34558b08.tar.gz talos-obmc-linux-6cb1b145b912721f7a00f3fb5938765b34558b08.zip |
ARM: clps711x: make all virtual addresses definition via one macro
This patch make all virtual addresses definition via one macro.
This modification allows to avoid warning "BUG: mapping for 0x80000000
at 0xff000000 out of vmalloc space".
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-clps711x/p720t.c')
-rw-r--r-- | arch/arm/mach-clps711x/p720t.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/arch/arm/mach-clps711x/p720t.c b/arch/arm/mach-clps711x/p720t.c index 7680beab4ed2..dd8995027dd4 100644 --- a/arch/arm/mach-clps711x/p720t.c +++ b/arch/arm/mach-clps711x/p720t.c @@ -39,22 +39,16 @@ #include "common.h" /* - * Map the P720T system PLD. It occupies two address spaces: - * SYSPLD_PHYS_BASE and SYSPLD_PHYS_BASE + 0x00400000 - * We map both here. + * Map the P720T system PLD. It occupies two address spaces: + * 0x10000000 and 0x10400000. We map both regions as one. */ static struct map_desc p720t_io_desc[] __initdata = { { .virtual = SYSPLD_VIRT_BASE, .pfn = __phys_to_pfn(SYSPLD_PHYS_BASE), - .length = SZ_1M, - .type = MT_DEVICE - }, { - .virtual = 0xfe400000, - .pfn = __phys_to_pfn(0x10400000), - .length = SZ_1M, - .type = MT_DEVICE - } + .length = SZ_8M, + .type = MT_DEVICE, + }, }; static void __init |