summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-29 23:31:09 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-29 23:31:09 +0000
commit679d2c11d1c0b790a389b01aaab73b6c18761ada (patch)
treeac30763875bb78e84a43d10ec0a697e1a90c932e /rbutil
parent8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076 (diff)
downloadrockbox-679d2c11d1c0b790a389b01aaab73b6c18761ada.tar.gz
rockbox-679d2c11d1c0b790a389b01aaab73b6c18761ada.tar.bz2
rockbox-679d2c11d1c0b790a389b01aaab73b6c18761ada.zip
Added dualboot usb detection for Clip, so OF boots on usb insert.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19613 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/mkamsboot/dualboot.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/mkamsboot/dualboot.S b/rbutil/mkamsboot/dualboot.S
index 6cdc88de18..3b744f87df 100644
--- a/rbutil/mkamsboot/dualboot.S
+++ b/rbutil/mkamsboot/dualboot.S
@@ -88,6 +88,8 @@ uclcopy:
str r1, [r0, #0x400]
#ifdef SANSA_C200V2
ldr r1, [r0, #0x8] /* USB is A1 on C200 */
+#elif defined(SANSA_CLIP)
+ ldr r1, [r0, #0x100] /* USB is A6 on Clip */
#else
ldr r1, [r0, #0x20] /* read pin A3 */
#endif