projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d8dc9
)
armv8: layerscape: Enabled I-cache for SPL boot
author
York Sun
<york.sun@nxp.com>
Tue, 26 Jun 2018 21:26:02 +0000
(14:26 -0700)
committer
York Sun
<york.sun@nxp.com>
Thu, 26 Jul 2018 17:59:35 +0000
(10:59 -0700)
Enable I-cache for SPL boot to boost performance. Earlier MMU was
enabled only for LS2080A and has since been dropped by commit
f539c8a4a7a5
("armv8: ls2080a: Drop early MMU for SPL build").
Signed-off-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/fsl-layerscape/spl.c
b/arch/arm/cpu/armv8/fsl-layerscape/spl.c
index dba4b406070194b6a2c363bc82269690dbc41b15..f1d6fd63b995f56a177a4937d892181d82effc3c 100644
(file)
--- a/
arch/arm/cpu/armv8/fsl-layerscape/spl.c
+++ b/
arch/arm/cpu/armv8/fsl-layerscape/spl.c
@@
-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();