]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: UniPhier: disable L2 cache by lowlevel_init of U-Boot proper
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Mar 2015 15:07:32 +0000 (00:07 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:16 +0000 (14:34 +0200)
commitfdb0105186eabc709c423327abf0182dc506764b
tree3cac3646f89e81de8438d04692bfeb10742676ff
parent7da3b99539c7336737aa302041914350e044431a
ARM: UniPhier: disable L2 cache by lowlevel_init of U-Boot proper

The L2 cache is used as a temporary SRAM on SPL.
Now the secondary CPUs store the necessary code for jumping to
Linux on their L1 I-caches.  So, the L2 cache can be disabled
much earlier, at the very entry of U-Boot proper (lowlevel_init).
This makes the boot sequence clearer.
Also, as the L1 cache has been disabled by the start.S,
enable_caches() does not need to do it again.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/cache_uniphier.c
arch/arm/mach-uniphier/late_lowlevel_init.S