projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce19d4c
)
ARM: rmobile: Do not init caches in TPL before DRAM
author
Marek Vasut
<
[email protected]
>
Wed, 4 Apr 2018 21:32:44 +0000
(23:32 +0200)
committer
Marek Vasut
<
[email protected]
>
Wed, 11 Apr 2018 21:11:54 +0000
(23:11 +0200)
Skip the cache initialization, which can be done later on in U-Boot
proper, since this interferes with early DRAM initialization in TPL.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Nobuhiro Iwamatsu <
[email protected]
>
arch/arm/mach-rmobile/lowlevel_init_ca15.S
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rmobile/lowlevel_init_ca15.S
b/arch/arm/mach-rmobile/lowlevel_init_ca15.S
index a5dbbea9e1527d79f26348d939735408bd65e4ef..ef2280bea4216816c7fea4ca040cfb3df3cb5a7c 100644
(file)
--- a/
arch/arm/mach-rmobile/lowlevel_init_ca15.S
+++ b/
arch/arm/mach-rmobile/lowlevel_init_ca15.S
@@
-11,6
+11,7
@@
#include <linux/linkage.h>
ENTRY(lowlevel_init)
+#ifndef CONFIG_TPL_BUILD
mrc p15, 0, r4, c0, c0, 5 /* mpidr */
orr r4, r4, r4, lsr #6
and r4, r4, #7 /* id 0-3 = ca15.0,1,2,3 */
@@
-83,6
+84,7
@@
_exit_init_l2_a15:
bl s_init
ldr lr, [sp]
+#endif
mov pc, lr
nop
ENDPROC(lowlevel_init)