提交 9ceceb65 编写于 作者: R Rob Herring 提交者: Nicolas Pitre

ARM: realview: fix map_desc alignment

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: NRob Herring <rob.herring@calxeda.com>
Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
上级 38bd7493
...@@ -98,8 +98,8 @@ static struct map_desc realview_pbx_io_desc[] __initdata = { ...@@ -98,8 +98,8 @@ static struct map_desc realview_pbx_io_desc[] __initdata = {
static struct map_desc realview_local_io_desc[] __initdata = { static struct map_desc realview_local_io_desc[] __initdata = {
{ {
.virtual = IO_ADDRESS(REALVIEW_PBX_TILE_GIC_CPU_BASE), .virtual = IO_ADDRESS(REALVIEW_PBX_TILE_SCU_BASE),
.pfn = __phys_to_pfn(REALVIEW_PBX_TILE_GIC_CPU_BASE), .pfn = __phys_to_pfn(REALVIEW_PBX_TILE_SCU_BASE),
.length = SZ_4K, .length = SZ_4K,
.type = MT_DEVICE, .type = MT_DEVICE,
}, { }, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册