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:
parent
8e22f7f5b0
commit
679d2c11d1
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ uclcopy:
|
||||||
str r1, [r0, #0x400]
|
str r1, [r0, #0x400]
|
||||||
#ifdef SANSA_C200V2
|
#ifdef SANSA_C200V2
|
||||||
ldr r1, [r0, #0x8] /* USB is A1 on C200 */
|
ldr r1, [r0, #0x8] /* USB is A1 on C200 */
|
||||||
|
#elif defined(SANSA_CLIP)
|
||||||
|
ldr r1, [r0, #0x100] /* USB is A6 on Clip */
|
||||||
#else
|
#else
|
||||||
ldr r1, [r0, #0x20] /* read pin A3 */
|
ldr r1, [r0, #0x20] /* read pin A3 */
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue