summaryrefslogtreecommitdiffstats
path: root/rbutil/mkimxboot/dualboot
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-02-28 20:59:59 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2012-02-28 21:00:23 +0100
commitc735ff2ac0972a9f7563ed68192c41dbe3bbbea4 (patch)
treeedc3be02585d5c2fefab8151858395500438f902 /rbutil/mkimxboot/dualboot
parentd96a32d01ab2d691811b452f5e7f898582f25492 (diff)
downloadrockbox-c735ff2ac0972a9f7563ed68192c41dbe3bbbea4.tar.gz
rockbox-c735ff2ac0972a9f7563ed68192c41dbe3bbbea4.zip
mkimxboot/fuze+: fix booting to the OF
Change-Id: I51db192d9c88952173acac6558941ba6421a31dd
Diffstat (limited to 'rbutil/mkimxboot/dualboot')
-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 @@
.global start
@ int start(uint32_t arg, uint32_t *result_id)
start:
- stmfd sp!, {r4-r6,lr}
#if defined(SANSA_FUZEPLUS)
/* If volume down key is hold, return so that the OF can boot */
ldr r2, =0x80018610 @ HW_PINCTRL_DIN1
@@ -32,6 +31,7 @@ start:
moveq r0, #0 @ return 0, continue boot
bxeq lr
/* otherwise monitor the power button for a short time */
+ stmfd sp!, {r4-r6,lr}
ldr r2, =550000 @ loop count
ldr r4, =0 @ number of times PSWITCH was 1
pswitch_monitor_loop: