[U-Boot] [PATCH] armv8: fsl-layerscape: mmu: Fix enabling MMU

york sun york.sun at nxp.com
Tue Jul 26 22:25:33 CEST 2016


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 at 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




More information about the U-Boot mailing list