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:
7d3a532
)
powerpc: mpc85xx: Improve Work-around for Erratum A005125
author
Takuma Ueba
<
[email protected]
>
Mon, 23 Apr 2018 04:27:33 +0000
(13:27 +0900)
committer
York Sun
<
[email protected]
>
Wed, 9 May 2018 14:17:51 +0000
(09:17 -0500)
Work-around for Erratum
A005125
must be applied to all cores.
Signed-off-by: Yoshihisa Morizumi <
[email protected]
>
Signed-off-by: Takuma Ueba <
[email protected]
>
Reviewed-by: York Sun <
[email protected]
>
arch/powerpc/cpu/mpc85xx/release.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/release.S
b/arch/powerpc/cpu/mpc85xx/release.S
index 5d212f35b56c97506e37c3e2ee36c88aa173c554..d37e1ccf1e7fdfae016fb92e9c55be046a2655d0 100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/release.S
+++ b/
arch/powerpc/cpu/mpc85xx/release.S
@@
-26,6
+26,13
@@
.globl __secondary_start_page
.align 12
__secondary_start_page:
+#ifdef CONFIG_SYS_FSL_ERRATUM_A005125
+ msync
+ isync
+ mfspr r3, SPRN_HDBCR0
+ oris r3, r3, 0x0080
+ mtspr SPRN_HDBCR0, r3
+#endif
/* First do some preliminary setup */
lis r3, HID0_EMCP@h /* enable machine check */
#ifndef CONFIG_E500MC