]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: r8a7790: smp: remap whole apmu region
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 3 Feb 2015 14:57:41 +0000 (15:57 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 21:30:50 +0000 (06:30 +0900)
Documentation says the last register is at 0x184 (CAxCPUCMCR), so use
proper length. Current APMU code accesses CAxCPUnCR which is currently
outside of the remapped area.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7790.c

index 9c3da1345b8b7eb45b778eb77e9a81cfed7f8cb4..a5bef873d37e8154901c2397b2be9efe094c3050 100644 (file)
@@ -37,11 +37,11 @@ static struct rcar_sysc_ch r8a7790_ca7_scu = {
 
 static struct rcar_apmu_config r8a7790_apmu_config[] = {
        {
-               .iomem = DEFINE_RES_MEM(0xe6152000, 0x88),
+               .iomem = DEFINE_RES_MEM(0xe6152000, 0x188),
                .cpus = { 0, 1, 2, 3 },
        },
        {
-               .iomem = DEFINE_RES_MEM(0xe6151000, 0x88),
+               .iomem = DEFINE_RES_MEM(0xe6151000, 0x188),
                .cpus = { 0x100, 0x0101, 0x102, 0x103 },
        }
 };