diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-09-08 13:51:29 (GMT) |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-09-09 21:52:45 (GMT) |
commit | e0ff3d350d6b7960deb5a881dfc5acf3a63ef676 (patch) | |
tree | bae9341cc649b87241a30b45b5cdb09a67f3627b | |
parent | 650a9e7abc44ce1ce73d6668eaf0ba2d6b8025e9 (diff) | |
download | u-boot-fsl-qoriq-e0ff3d350d6b7960deb5a881dfc5acf3a63ef676.tar.xz |
85xx: Ensure timebase is zero on secondary cores
The e500um says the timebase is volatile out of reset. To ensure
TB sync works we need to make sure its zero.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | cpu/mpc85xx/release.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/mpc85xx/release.S b/cpu/mpc85xx/release.S index 75676b5..ec5e4da 100644 --- a/cpu/mpc85xx/release.S +++ b/cpu/mpc85xx/release.S @@ -37,6 +37,11 @@ __secondary_start_page: li r3,0x201 mtspr SPRN_BUCSR,r3 + /* Ensure TB is 0 */ + li r3,0 + mttbl r3 + mttbu r3 + /* Enable/invalidate the I-Cache */ mfspr r0,SPRN_L1CSR1 ori r0,r0,(L1CSR1_ICFI|L1CSR1_ICE) |