]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: realview: fix map_desc alignment
authorRob Herring <rob.herring@calxeda.com>
Thu, 29 Sep 2011 21:22:02 +0000 (16:22 -0500)
committerNicolas Pitre <nico@fluxnic.net>
Fri, 18 Nov 2011 18:51:19 +0000 (13:51 -0500)
REALVIEW_PBX_TILE_GIC_CPU_BASE is not 4KB aligned which causes an
overlapping mapping. Use REALVIEW_PBX_TILE_SCU_BASE instead which is
aligned.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-realview/realview_pbx.c

index 63c4114afae92b84a32ebfe5cf7527e0af5e9c1b..a15f5d6edb87e37d7a76c57afbfad7eaff1c1bbf 100644 (file)
@@ -98,8 +98,8 @@ static struct map_desc realview_pbx_io_desc[] __initdata = {
 
 static struct map_desc realview_local_io_desc[] __initdata = {
        {
-               .virtual        = IO_ADDRESS(REALVIEW_PBX_TILE_GIC_CPU_BASE),
-               .pfn            = __phys_to_pfn(REALVIEW_PBX_TILE_GIC_CPU_BASE),
+               .virtual        = IO_ADDRESS(REALVIEW_PBX_TILE_SCU_BASE),
+               .pfn            = __phys_to_pfn(REALVIEW_PBX_TILE_SCU_BASE),
                .length         = SZ_4K,
                .type           = MT_DEVICE,
        }, {