mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
armv8: layerscape: Enabled I-cache for SPL boot
Enable I-cache for SPL boot to boost performance. Earlier MMU was
enabled only for LS2080A and has since been dropped by commit
f539c8a4a7
("armv8: ls2080a: Drop early MMU for SPL build").
Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
02d8dc9678
commit
61ab8aac60
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ void spl_board_init(void)
|
|||
|
||||
void board_init_f(ulong dummy)
|
||||
{
|
||||
icache_enable();
|
||||
/* Clear global data */
|
||||
memset((void *)gd, 0, sizeof(gd_t));
|
||||
board_early_init_f();
|
||||
|
|
Loading…
Reference in a new issue