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
This commit is contained in:
Björn Stenberg 2008-12-29 23:31:09 +00:00
parent 8e22f7f5b0
commit 679d2c11d1

View file

@ -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