Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e28c800 authored by Rob Herring's avatar Rob Herring Committed by Nicolas Pitre
Browse files

ARM: realview-eb11mp: fix map_desc alignment



REALVIEW_EB11MP_GIC_CPU_BASE is not 4KB aligned which causes an
overlapping mapping. Use REALVIEW_EB11MP_SCU_BASE instead which is
aligned.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent 9ceceb65
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -91,8 +91,8 @@ static struct map_desc realview_eb_io_desc[] __initdata = {

static struct map_desc realview_eb11mp_io_desc[] __initdata = {
	{
		.virtual	= IO_ADDRESS(REALVIEW_EB11MP_GIC_CPU_BASE),
		.pfn		= __phys_to_pfn(REALVIEW_EB11MP_GIC_CPU_BASE),
		.virtual	= IO_ADDRESS(REALVIEW_EB11MP_SCU_BASE),
		.pfn		= __phys_to_pfn(REALVIEW_EB11MP_SCU_BASE),
		.length		= SZ_4K,
		.type		= MT_DEVICE,
	}, {