mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
powerpc: mpc85xx: Improve Work-around for Erratum A005125
Work-around for Erratum A005125 must be applied to all cores. Signed-off-by: Yoshihisa Morizumi <yoshi.morizumi@jp.fujitsu.com> Signed-off-by: Takuma Ueba <ueba.takuma@jp.fujitsu.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
7d3a532d5d
commit
6a265aba30
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue