]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/nonsec_virt.S
imx6: isiotmx6ul: Add FEC support
[u-boot] / arch / arm / cpu / armv7 / nonsec_virt.S
index 31d1c9e348410b137091f0b1c490762438163ac7..95ce9387b83e972414b6de2d5711a9f40fe097df 100644 (file)
@@ -37,7 +37,7 @@ _monitor_vectors:
 
 /*
  * secure monitor handler
- * U-boot calls this "software interrupt" in start.S
+ * U-Boot calls this "software interrupt" in start.S
  * This is executed on a "smc" instruction, we use a "smc #0" to switch
  * to non-secure state.
  * r0, r1, r2: passed to the callee
@@ -49,8 +49,13 @@ _secure_monitor:
        mcr     p15, 0, r5, c12, c0, 1
        isb
 
-       @ Obtain a secure stack, and configure the PSCI backend
+       @ Obtain a secure stack
+       bl      psci_stack_setup
+
+       @ Configure the PSCI backend
+       push    {r0, r1, r2, ip}
        bl      psci_arch_init
+       pop     {r0, r1, r2, ip}
 #endif
 
 #ifdef CONFIG_ARM_ERRATA_773022