ARM: pxa: Move UNCACHED_PHYS_0 mapping from generic.c to pxa2[57]x.c
[cascardo/linux.git] / arch / arm / mach-pxa / pxa25x.c
index f2c2897..66e4a2b 100644 (file)
@@ -331,7 +331,12 @@ static struct map_desc pxa25x_io_desc[] __initdata = {
        {       /* Mem Ctl */
                .virtual        = (unsigned long)SMEMC_VIRT,
                .pfn            = __phys_to_pfn(PXA2XX_SMEMC_BASE),
-               .length         = 0x00200000,
+               .length         = SMEMC_SIZE,
+               .type           = MT_DEVICE
+       }, {    /* UNCACHED_PHYS_0 */
+               .virtual        = UNCACHED_PHYS_0,
+               .pfn            = __phys_to_pfn(0x00000000),
+               .length         = UNCACHED_PHYS_0_SIZE,
                .type           = MT_DEVICE
        },
 };