summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-04-08 08:01:18 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-04-08 08:01:18 +0000
commitf4deea60273d34f643cf7965cab184f13d66f322 (patch)
tree605a054daf83c9eb7ccb83071a35718c671f3758 /firmware/target/arm
parentd74117450cddb98188b5adde758725ca1e640459 (diff)
downloadrockbox-f4deea60273d34f643cf7965cab184f13d66f322.tar.gz
rockbox-f4deea60273d34f643cf7965cab184f13d66f322.zip
D2: Update dual boot to use the hold switch. Update bootloader to show messages until HOLD released, keep holding POWER to show old debug screen (these modes will eventually be removed).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17032 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/tcc780x/crt0.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/tcc780x/crt0.S b/firmware/target/arm/tcc780x/crt0.S
index 05a8868d51..d328291a26 100644
--- a/firmware/target/arm/tcc780x/crt0.S
+++ b/firmware/target/arm/tcc780x/crt0.S
@@ -72,9 +72,9 @@ start_loc:
#ifdef TCCBOOT
#ifdef COWON_D2
ldr r0, =0xf005a000
- ldr r0, [r0, #0x40] /* Read GPIO B */
- tst r0, #0x4
- ldreq pc, [pc, #-28] /* Jump to original firmware if keypad not pressed */
+ ldr r0, [r0, #0x20] /* Read GPIO A */
+ tst r0, #0x8
+ ldrne pc, [pc, #-28] /* Jump to original firmware if HOLD not pressed */
#else
#error No bootup key detection implemented for this target
#endif