mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Add Sansa Clip+ target to test mkamsboot
UNTESTED, could ver well brick your Clip+ If it works, booting should just be delayed by a small delay (perhaps not noticeable) Hopefully the Clipv2 checks will work for Clip+ and then we'll be able to test the other Clipv2 code (LCD/button) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24219 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c2dae8742c
commit
8b926e98f8
9 changed files with 78 additions and 16 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
.text
|
||||
|
||||
#if defined(SANSA_CLIPV2)
|
||||
#if defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS)
|
||||
.set RAM_SIZE, 0x100000 /* Use 1MB of SDRAM on v2 firmwares (bigger firmware) */
|
||||
#else
|
||||
.set RAM_SIZE, 0x50000 /* Use full IRAM on v1 firmwares */
|
||||
|
|
@ -156,6 +156,12 @@ uclcopy:
|
|||
|
||||
cmp r1, #0 /* C3 = #0 means button pressed */
|
||||
beq boot_of
|
||||
#elif defined(SANSA_CLIPPLUS)
|
||||
/* TODO */
|
||||
mov r0, #0x500000 /* Approximately 5 seconds */
|
||||
1: subs r0, r0, #1 /* just to prove we are running */
|
||||
bne 1b
|
||||
b boot_of /* branch to OF */
|
||||
#elif defined(SANSA_C200V2)
|
||||
/* check for RIGHT on C6, should changed to LEFT as soon as it
|
||||
* known in which pin that is in order for consistency */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue