mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Sansa clip zip: update mkamsboot and fix various drivers to make it boot to the main firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30853 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a8cde851fb
commit
e90f961593
11 changed files with 53 additions and 47 deletions
|
|
@ -175,8 +175,12 @@ uclcopy:
|
|||
bne boot_of @ branch directly to OF if either pin high
|
||||
|
||||
#elif defined(SANSA_CLIPZIP)
|
||||
@ just boot the OF
|
||||
b boot_of
|
||||
@ read pins
|
||||
ldr r0, =GPIOA
|
||||
ldr r1, [r0, #4*(1<<6)] @ read GPIO A6 "vol-"
|
||||
|
||||
cmp r1, #0 @ test input from pins
|
||||
bne boot_of @ branch directly to OF if either pin high
|
||||
|
||||
#elif defined(SANSA_C200V2)
|
||||
.set BUTTON_LEFT, (1<< 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue