]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-mvebu/lowlevel_spl.S
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / mach-mvebu / lowlevel_spl.S
index 2e2181ecea5ebc2ad656772ff6056b9f43b42a6b..8718d7a43e11c852a082a84f4de6ef19ca073bbc 100644 (file)
@@ -1,11 +1,8 @@
-/*
- * SPDX-License-Identifier:    GPL-2.0+
- */
+/* SPDX-License-Identifier: GPL-2.0+ */
 
 #include <config.h>
 #include <linux/linkage.h>
 
-#ifdef CONFIG_MVEBU_BOOTROM_UARTBOOT
 ENTRY(save_boot_params)
        stmfd   sp!, {r0 - r12, lr}     /* @ save registers on stack */
        ldr     r12, =CONFIG_SPL_BOOTROM_SAVE
@@ -19,11 +16,6 @@ ENTRY(return_to_bootrom)
        mov     r0, #0x0                /* @ return value: 0x0 NO_ERR */
        ldmfd   sp!, {r0 - r12, pc}     /* @ restore regs and return */
 ENDPROC(return_to_bootrom)
-#else
-ENTRY(save_boot_params)
-       b       save_boot_params_ret
-ENDPROC(save_boot_params)
-#endif
 
 /*
  * cache_inv - invalidate Cache line