
26 Jul
2016
26 Jul
'16
10:25 p.m.
On 07/22/2016 10:52 AM, York Sun wrote:
MMU bit in SCTLR needs to be set explicitly after tables are created. It isn't an issue for EL3 becuase this bit is already set by early MMU setup. But for other exception levels this bit was not set.
Signed-off-by: York Sun york.sun@nxp.com
Setting CR_M bit wasn't needed for this function when U-Boot runs at EL3. Recent additional of PPA, and pending change of distro boot requires MMU to be setup for EL2. This bit needs to be set in _this_ function.
Verified on LS1043ARDB with PPA. Verified on LS2080ARDB with distro boot (Alex Graf's patch set)
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Applied to fsl-qoriq master. Awaiting upstream.
York