From 0e4c2a17ca34001ed36d259f13cb88ada4611a8c Mon Sep 17 00:00:00 2001
From: Jon Loeliger <jdl@freescale.com>
Date: Thu, 15 Jun 2006 21:33:37 -0500
Subject: [PATCH] Do not enable address translation on secondary CPUs. Do not
 set up BATs on secondary CPUs.  Let Linux do the nasty.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
---
 cpu/mpc86xx/start.S | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/cpu/mpc86xx/start.S b/cpu/mpc86xx/start.S
index 07e75572b9..12bf75b2e1 100644
--- a/cpu/mpc86xx/start.S
+++ b/cpu/mpc86xx/start.S
@@ -1196,13 +1196,6 @@ secondary_cpu_setup:
 	sync
 #endif
 
-	/* setup the bats */
-	bl	setup_bats
-	sync
-	/* enable address translation */
-	bl	enable_addr_trans
-	sync
-
 	/* enable and invalidate the data cache */
 	bl	dcache_enable
 	sync
@@ -1211,14 +1204,6 @@ secondary_cpu_setup:
         bl      icache_enable
         sync
         
-        /* Set up MSR and HID0, HID1*/        
-       	/* Enable interrupts */
-/*        mfmsr	r28	
-	 li	r4,0
-	ori	r4,r4,MSR_EE
-        or      r28,r28,r4
-        mtmsr   r28
-  */      
 
         /* TBEN  in HID0 */
 	mfspr	r4, HID0
-- 
2.39.5