]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xtensa: initialize MMU before jumping to reset vector
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Sep 2016 04:35:07 +0000 (21:35 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Sep 2016 06:53:23 +0000 (23:53 -0700)
commitbf15f86b343ed894e74fb9c6c944cea1f8f9b654
tree4a8bcb53725a63e68531404ed6fe2540233a4675
parentea951c34ea957d509916f79502917b87cf111b37
xtensa: initialize MMU before jumping to reset vector

When reset is simulated MMU need to be brought into its initial state,
because that's what bootloaders/OS kernels assume. This is especially
important for MMUv3 because TLB state when the kernel is running is
significatly different from its reset state.

With this change it is possible to boot linux and get back to U-Boot
repeatedly.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c