]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: layerscape: Fix the sequence of changing MMU table
authorYork Sun <york.sun@nxp.com>
Mon, 6 Mar 2017 17:02:31 +0000 (09:02 -0800)
committerYork Sun <york.sun@nxp.com>
Tue, 14 Mar 2017 15:44:03 +0000 (08:44 -0700)
commita045a0c33330f4b38b198651901c96829619e60b
treeb913d209155d73acac377963593b850fd1ec8a03
parent24f55496a40fc2903a3737563c52b952d9a25332
armv8: layerscape: Fix the sequence of changing MMU table

This patch follows the break-before-make process when making changes
to MMU table. MMU is disabled before changing TTBR to avoid any
potential race condition.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c