summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s3c2440/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s3c2440/crt0.S')
-rw-r--r--firmware/target/arm/s3c2440/crt0.S11
1 files changed, 7 insertions, 4 deletions
diff --git a/firmware/target/arm/s3c2440/crt0.S b/firmware/target/arm/s3c2440/crt0.S
index af0ef5bba8..a05fd78fe9 100644
--- a/firmware/target/arm/s3c2440/crt0.S
+++ b/firmware/target/arm/s3c2440/crt0.S
@@ -105,10 +105,13 @@ start:
105 ldr r1, [r2] 105 ldr r1, [r2]
106 ands r1, r1, #0x40000000 106 ands r1, r1, #0x40000000
107 107
108 /* Woke up with the alarm - store a flag in GSTATUS3 */ 108 /* Store a flag in GSTATUS3 to indicate that the bootloader is flashed */
109 ldrne r2, =0x560000b8 109 ldr r2, =0x560000b8
110 movne r1, #0x01 110 mov r1, #0x02
111 strne r1, [r2] 111
112 /* Woke up with the alarm? - store a flag in GSTATUS3 */
113 orrne r1, r1, #0x01
114 str r1, [r2]
112 bne poweron 115 bne poweron
113 116
114 /* Set GPG up to read power and menu status */ 117 /* Set GPG up to read power and menu status */