]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv8/start.S
armv8: fsl-lsch2: enable snoopable sata read and write
[u-boot] / arch / arm / cpu / armv8 / start.S
index 67edf94520c5fb2214eadaf036ae38fb1942cab8..19c771dba3abc2dad0971474d2f9d7773119f771 100644 (file)
@@ -53,6 +53,11 @@ _bss_end_ofs:
        .quad   __bss_end - _start
 
 reset:
+       /* Allow the board to save important registers */
+       b       save_boot_params
+.globl save_boot_params_ret
+save_boot_params_ret:
+
 #ifdef CONFIG_SYS_RESET_SCTRL
        bl reset_sctrl
 #endif
@@ -282,3 +287,7 @@ ENTRY(c_runtime_cpu_setup)
 
        ret
 ENDPROC(c_runtime_cpu_setup)
+
+WEAK(save_boot_params)
+       b       save_boot_params_ret    /* back to my caller */
+ENDPROC(save_boot_params)