summaryrefslogtreecommitdiff
path: root/rbutil/mkimxboot/dualboot/dualboot.S
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/mkimxboot/dualboot/dualboot.S')
-rw-r--r--rbutil/mkimxboot/dualboot/dualboot.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/mkimxboot/dualboot/dualboot.S b/rbutil/mkimxboot/dualboot/dualboot.S
index 1b9edb015f..645a7889cb 100644
--- a/rbutil/mkimxboot/dualboot/dualboot.S
+++ b/rbutil/mkimxboot/dualboot/dualboot.S
@@ -23,7 +23,6 @@
23.global start 23.global start
24@ int start(uint32_t arg, uint32_t *result_id) 24@ int start(uint32_t arg, uint32_t *result_id)
25start: 25start:
26 stmfd sp!, {r4-r6,lr}
27#if defined(SANSA_FUZEPLUS) 26#if defined(SANSA_FUZEPLUS)
28 /* If volume down key is hold, return so that the OF can boot */ 27 /* If volume down key is hold, return so that the OF can boot */
29 ldr r2, =0x80018610 @ HW_PINCTRL_DIN1 28 ldr r2, =0x80018610 @ HW_PINCTRL_DIN1
@@ -32,6 +31,7 @@ start:
32 moveq r0, #0 @ return 0, continue boot 31 moveq r0, #0 @ return 0, continue boot
33 bxeq lr 32 bxeq lr
34 /* otherwise monitor the power button for a short time */ 33 /* otherwise monitor the power button for a short time */
34 stmfd sp!, {r4-r6,lr}
35 ldr r2, =550000 @ loop count 35 ldr r2, =550000 @ loop count
36 ldr r4, =0 @ number of times PSWITCH was 1 36 ldr r4, =0 @ number of times PSWITCH was 1
37pswitch_monitor_loop: 37pswitch_monitor_loop: