summaryrefslogtreecommitdiff
path: root/firmware/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/crt0.S')
-rw-r--r--firmware/crt0.S26
1 files changed, 25 insertions, 1 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S
index 264b9c9fe7..a207006c32 100644
--- a/firmware/crt0.S
+++ b/firmware/crt0.S
@@ -80,7 +80,31 @@ remap_start:
80 mov pc, r0 80 mov pc, r0
81L_post_remap: .word remap_end 81L_post_remap: .word remap_end
82remap_end: 82remap_end:
83#endif /* PP specific */ 83
84#elif CONFIG_CPU == PNX0101
85
86#ifndef DEBUG
87 ldr r0, =0x80105000
88 mov r1, #1
89 str r1, [r0, #4]
90 mov r1, #0
91 str r1, [r0, #4]
921: ldr r1, [r0]
93 cmp r1, #0
94 bne 1b
95 mov r1, #0x74
96 str r1, [r0, #8]
97 mov r1, #2
98 str r1, [r0, #0x18]
99 mov r1, #0x120
100 str r1, [r0, #0x30]
101 mov r1, #6
102 str r1, [r0, #4]
103 ldr r0, =1f
104 mov r15, r0
1051:
106#endif /* !DEBUG */
107#endif /* chipset specific */
84 108
85#ifndef DEBUG 109#ifndef DEBUG
86 /* Copy exception handler code to address 0 */ 110 /* Copy exception handler code to address 0 */