Skip to content
Snippets Groups Projects
Commit f539c8a4 authored by York Sun's avatar York Sun
Browse files

armv8: ls2080a: Drop early MMU for SPL build


Early MMU improves performance especially on emulators. However, the
early MMU is left enabled after the first stage of SPL boot. Instead
of flushing D-cache and dealing with re-enabling MMU for the second
stage U-Boot, disabling it for SPL build simplifies the process. The
performance penalty is unnoticeable on the real hardware. As of now,
SPL boot is not supported by existing emulators. So this should have
no impact on emulators.

Signed-off-by: default avatarYork Sun <york.sun@nxp.com>
parent a045a0c3
No related branches found
No related tags found
No related merge requests found
...@@ -45,9 +45,6 @@ void board_init_f(ulong dummy) ...@@ -45,9 +45,6 @@ void board_init_f(ulong dummy)
{ {
/* Clear global data */ /* Clear global data */
memset((void *)gd, 0, sizeof(gd_t)); memset((void *)gd, 0, sizeof(gd_t));
#ifdef CONFIG_LS2080A
arch_cpu_init();
#endif
board_early_init_f(); board_early_init_f();
timer_init(); timer_init();
#ifdef CONFIG_LS2080A #ifdef CONFIG_LS2080A
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment