ppc/8xxx: relocate cpu pointer in global data
[oweals/u-boot.git] / cpu / mpc86xx / release.S
index b524e5016e80d099c9bad5a15177f6f1151cc21e..67a6f2bdb5738a325089e14d9a7b3b59e010cffa 100644 (file)
@@ -41,7 +41,6 @@
  * Core 0 must copy this to a 1M aligned region and set BPTR
  * to point to it.
  */
-#if (CONFIG_NUM_CPUS > 1)
        .align 12
 .globl __secondary_start_page
 __secondary_start_page:
@@ -125,7 +124,7 @@ invl2:
        mtspr   HID0, r5                /* enable + invalidate */
        mtspr   HID0, r3                /* enable */
        sync
-#ifdef CFG_L2
+#ifdef CONFIG_SYS_L2
        sync
        lis     r3, L2_ENABLE@h
        ori     r3, r3, L2_ENABLE@l
@@ -166,4 +165,3 @@ invl2:
        blr
 
        /* Never Returns, Running in Linux Now */
-#endif