Integrate arm-head.S and chipset-specific initialisation functions
[bootloader-ap.git] / arch / arch-init-7x30.S
index 60c56ee..c2b0dd9 100644 (file)
@@ -459,15 +459,15 @@ SYSI2:
 
         //; Make sure Link stack is initialized with branch and links to sequential addresses
         //; This aids in creating a predictable startup environment
-//;       BL      SEQ1
-//;SEQ1:  BL      SEQ2
-//;SEQ2:  BL      SEQ3
-//;SEQ3:  BL      SEQ4
-//;SEQ4:  BL      SEQ5
-//;SEQ5:  BL      SEQ6
-//;SEQ6:  BL      SEQ7
-//;SEQ7:  BL      SEQ8
-//;SEQ8:
+       BL      SEQ1
+SEQ1:  BL      SEQ2
+SEQ2:  BL      SEQ3
+SEQ3:  BL      SEQ4
+SEQ4:  BL      SEQ5
+SEQ5:  BL      SEQ6
+SEQ6:  BL      SEQ7
+SEQ7:  BL      SEQ8
+SEQ8:
 
         //; REMOVE FOLLOWING THREE INSTRUCTIONS WHEN POWER COLLAPSE IS ENA
         //;Make sure the DBGOSLSR[LOCK] bit is cleared to allow access to the debug registers
@@ -686,8 +686,7 @@ SYSI2:
         FMXR  FPEXC, r1
 #endif *//* APPSBL_VFP_ENABLE */
 
-        /* we have no stack, so just tail-call into the SET_SA routine... */
-        b SET_SA
+        BX LR
 
 
 .ltorg