Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff --git a/rbutil/mkamsboot/dualboot/dualboot.S b/rbutil/mkamsboot/dualboot/dualboot.S
index 0189a5b..8837226 100644
--- a/rbutil/mkamsboot/dualboot/dualboot.S
+++ b/rbutil/mkamsboot/dualboot/dualboot.S
@@ -21,7 +21,7 @@

 .text

-#if defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS)
+#if defined(SANSA_CLIPV2)
 .set RAM_SIZE, 0x100000 /* Use 1MB of SDRAM on v2 firmwares (bigger firmware) */
 #else
 .set RAM_SIZE, 0x50000  /* Use full IRAM on v1 firmwares */
@@ -157,17 +157,6 @@ uclcopy:
         cmp     r1, #0             /* C3 = #0 means button pressed */
         beq     boot_of
 #elif defined(SANSA_CLIPPLUS)
-        @ All GPIO_DIR == 0x00 from reset
-        @ Set B0
-        ldr     r0, =GPIOB
-        mov     r1, #(1<<0)         @ pin 0
-        str     r1, [r0, #0x400]    @ GPIOB(0) = output
-        str     r1, [r0, #4*(1<<0)] @ write 1 to GPIOB(0)  B0 set
-
-        mov     r1, #500            @ small delay
-1:      subs    r1, r1, #1
-        bne     1b
-
         @ read pins
         ldr     r0, =GPIOC
         ldr     r1, [r0, #4*(1<<3)] @ read pin C3 "|<<"
@@ -177,12 +166,6 @@ uclcopy:

         orr     r2, r2, r1          @ c3 || A1

-        @ Unset GPIOB(0) & Restore GPIOB_DIR
-        ldr     r0, =GPIOB
-        mov     r1, #0
-        str     r1, [r0, #4*(1<<0)] @ write 0 to GPIOB(0) B0 unset
-        str     r1, [r0, #0x400]    @ Restore GPIOB_DIR to 0x00
-
         cmp     r2, #0              @ test input from pins
         bne     boot_of             @ branch directly to OF if either pin high
 #elif defined(SANSA_C200V2)