diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/crt0.S')
-rw-r--r-- | firmware/target/arm/s3c2440/crt0.S | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/firmware/target/arm/s3c2440/crt0.S b/firmware/target/arm/s3c2440/crt0.S index af0ef5bba8..ff5eafd042 100644 --- a/firmware/target/arm/s3c2440/crt0.S +++ b/firmware/target/arm/s3c2440/crt0.S | |||
@@ -49,8 +49,8 @@ vectors: | |||
49 | /* Add some strings to detect the bootloader in flash and give it a version | 49 | /* Add some strings to detect the bootloader in flash and give it a version |
50 | * number. (0x040A0028, 0x040A002C) | 50 | * number. (0x040A0028, 0x040A002C) |
51 | */ | 51 | */ |
52 | .string "ROCKBOX\0" | 52 | .string "ROCKBOX" |
53 | .string "R 03.00\0" | 53 | .word 0x0001 |
54 | 54 | ||
55 | /* | 55 | /* |
56 | * Function: word_copy | 56 | * Function: word_copy |
@@ -99,18 +99,6 @@ start: | |||
99 | cmp r0, #0xA0000 | 99 | cmp r0, #0xA0000 |
100 | bne poweron | 100 | bne poweron |
101 | 101 | ||
102 | /* Did an RTC event wake the player up? */ | ||
103 | |||
104 | mov r2, #0x4A000000 | ||
105 | ldr r1, [r2] | ||
106 | ands r1, r1, #0x40000000 | ||
107 | |||
108 | /* Woke up with the alarm - store a flag in GSTATUS3 */ | ||
109 | ldrne r2, =0x560000b8 | ||
110 | movne r1, #0x01 | ||
111 | strne r1, [r2] | ||
112 | bne poweron | ||
113 | |||
114 | /* Set GPG up to read power and menu status */ | 102 | /* Set GPG up to read power and menu status */ |
115 | ldr r2, =0x56000050 | 103 | ldr r2, =0x56000050 |
116 | ldr r1, [r2, #0x18] | 104 | ldr r1, [r2, #0x18] |