armv8: fsl-layerscape: mmu: Fix enabling MMU
authorYork Sun <york.sun@nxp.com>
Fri, 22 Jul 2016 17:52:23 +0000 (10:52 -0700)
committerYork Sun <york.sun@nxp.com>
Tue, 26 Jul 2016 16:03:06 +0000 (09:03 -0700)
commited7a3943d580f4cf72e5ef8a20c43fa93e889d14
tree1146e48cc144ea82f104ca393b6598a8ea79e253
parent3288628a8d23681c865e91e65a341d48eb5fed73
armv8: fsl-layerscape: mmu: Fix enabling MMU

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>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c