Commit 4004e21e authored by Russell King's avatar Russell King Committed by Todd Kjos
Browse files

UPSTREAM: ARM: keystone2: move update of the phys-to-virt constants into generic code



Make the init_meminfo function return the offset to be applied to the
phys-to-virt translation constants.  This allows us to move the update
into generic code, along with the requirements for this update.

This avoids platforms having to know the details of the phys-to-virt
translation support.

Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
Tested-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>

[Amit: Fixes keystone_defconfig build. Ideally it should have been picked
       up before Change-Id: Iecdf1ce57dcb898996e8b9acedefd3c2b98735f8
       ("BACKPORT: ARM: re-implement physical address space switching")]
(cherry picked from commit c8ca2b4b)
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent d618b999
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment