]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-clps711x/p720t.c
ARM: clps711x: make all virtual addresses definition via one macro
[karo-tx-linux.git] / arch / arm / mach-clps711x / p720t.c
index b752b586fc2fd2c822677dd8009bd6256a998863..dd8995027dd4d80a364e33bf667ae3737b151bff 100644 (file)
 #include <asm/mach/map.h>
 #include <mach/syspld.h>
 
-#include <asm/hardware/clps7111.h>
-
 #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