[U-Boot] [PATCH 05/11] powerpc/mpc85xx: use boot page translation for spin table address

York Sun yorksun at freescale.com
Fri Aug 17 20:27:17 CEST 2012


E6500 doesn't allow cache inhibit TLB alias. Use the boot page translation
instead. The boot page is always cache inhibit.

Signed-off-by: York Sun <yorksun at freescale.com>
---
 arch/powerpc/cpu/mpc85xx/mp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/cpu/mpc85xx/mp.c b/arch/powerpc/cpu/mpc85xx/mp.c
index ffc2a9a..594f8e8 100644
--- a/arch/powerpc/cpu/mpc85xx/mp.c
+++ b/arch/powerpc/cpu/mpc85xx/mp.c
@@ -205,7 +205,7 @@ ulong get_spin_phys_addr(void)
 	extern ulong __secondary_start_page;
 	extern ulong __spin_table;
 
-	return (determine_mp_bootpg() +
+	return (0xfffff000 +
 		(ulong)&__spin_table - (ulong)&__secondary_start_page);
 }
 
-- 
1.7.0.4




More information about the U-Boot mailing list