Commit 1d66f72d authored by Wolfram Sang's avatar Wolfram Sang Committed by Simon Horman

ARM: shmobile: r8a7790: smp: remap whole apmu region

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: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 83a0731b
...@@ -37,11 +37,11 @@ static struct rcar_sysc_ch r8a7790_ca7_scu = { ...@@ -37,11 +37,11 @@ static struct rcar_sysc_ch r8a7790_ca7_scu = {
static struct rcar_apmu_config r8a7790_apmu_config[] = { 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 }, .cpus = { 0, 1, 2, 3 },
}, },
{ {
.iomem = DEFINE_RES_MEM(0xe6151000, 0x88), .iomem = DEFINE_RES_MEM(0xe6151000, 0x188),
.cpus = { 0x100, 0x0101, 0x102, 0x103 }, .cpus = { 0x100, 0x0101, 0x102, 0x103 },
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment