Do not enable address translation on secondary CPUs.
authorJon Loeliger <jdl@freescale.com>
Fri, 16 Jun 2006 02:33:37 +0000 (21:33 -0500)
committerJon Loeliger <jdl@freescale.com>
Fri, 16 Jun 2006 02:45:26 +0000 (21:45 -0500)
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

index 07e75572b97a05433ad2483ac97f9c63e9f394cb..12bf75b2e1a8a086970eb2965d7f4285f8fcd8fe 100644 (file)
@@ -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