blob: 99a818ad028f8250e0973fcd42d0a83f410da3b4 [file] [log] [blame]
Heiko Schocherf5e0d032006-06-19 11:02:41 +02001/*
2 * init.S
3 * ------
4 *
5 * Wind River PPMC 7xx/74xx init code.
6 *
7 * By Richard Danter (richard.danter@windriver.com)
8 * Copyright (C) 2005 Wind River Systems
9 *
10 * NOTE: The following code was generated automatically by Workbench
11 * from the ppmc7400_107.reg register file.
12 */
13
14#include <ppc_asm.tmpl>
15
16
17.globl board_asm_init
18board_asm_init:
19
20 lis r4,0xFEC0
21 ori r4,r4,0x0000
22 lis r5,0xFEE0
23 ori r5,r5,0x0000
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020024 lis r3,0x8000 # ADDR_00
Heiko Schocherf5e0d032006-06-19 11:02:41 +020025 ori r3,r3,0x0000
26 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020027 li r3,0x1057 # VENDOR
Heiko Schocherf5e0d032006-06-19 11:02:41 +020028 li r8, 0x0
29 sthbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020030 lis r3,0x8000 # ADDR_02
Heiko Schocherf5e0d032006-06-19 11:02:41 +020031 ori r3,r3,0x0002
32 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020033 li r3,0x0004 # ID
Heiko Schocherf5e0d032006-06-19 11:02:41 +020034 li r8, 0x2
35 sthbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020036 lis r3,0x8000 # ADDR_04
Heiko Schocherf5e0d032006-06-19 11:02:41 +020037 ori r3,r3,0x0004
38 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020039 li r3,0x0006 # PCICMD
Heiko Schocherf5e0d032006-06-19 11:02:41 +020040 li r8, 0x0
41 sthbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020042 lis r3,0x8000 # ADDR_06
Heiko Schocherf5e0d032006-06-19 11:02:41 +020043 ori r3,r3,0x0006
44 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020045 li r3,0x00A0 # PCISTAT
Heiko Schocherf5e0d032006-06-19 11:02:41 +020046 li r8, 0x2
47 sthbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020048 lis r3,0x8000 # ADDR_08
Heiko Schocherf5e0d032006-06-19 11:02:41 +020049 ori r3,r3,0x0008
50 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020051 li r3,0x10 # REVID
Heiko Schocherf5e0d032006-06-19 11:02:41 +020052 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020053 lis r3,0x8000 # ADDR_09
Heiko Schocherf5e0d032006-06-19 11:02:41 +020054 ori r3,r3,0x0009
55 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020056 li r3,0x00 # PROGIR
Heiko Schocherf5e0d032006-06-19 11:02:41 +020057 stb r3,0x1(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020058 lis r3,0x8000 # ADDR_0A
Heiko Schocherf5e0d032006-06-19 11:02:41 +020059 ori r3,r3,0x000A
60 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020061 li r3,0x00 # SUBCCODE
Heiko Schocherf5e0d032006-06-19 11:02:41 +020062 stb r3,0x2(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020063 lis r3,0x8000 # ADDR_0B
Heiko Schocherf5e0d032006-06-19 11:02:41 +020064 ori r3,r3,0x000B
65 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020066 li r3,0x06 # PBCCR
Heiko Schocherf5e0d032006-06-19 11:02:41 +020067 stb r3,0x3(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020068 lis r3,0x8000 # ADDR_0C
Heiko Schocherf5e0d032006-06-19 11:02:41 +020069 ori r3,r3,0x000C
70 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020071 li r3,0x08 # PCLSR
Heiko Schocherf5e0d032006-06-19 11:02:41 +020072 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020073 lis r3,0x8000 # ADDR_0D
Heiko Schocherf5e0d032006-06-19 11:02:41 +020074 ori r3,r3,0x000D
75 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020076 li r3,0x00 # PLTR
Heiko Schocherf5e0d032006-06-19 11:02:41 +020077 stb r3,0x1(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020078 lis r3,0x8000 # ADDR_0E
Heiko Schocherf5e0d032006-06-19 11:02:41 +020079 ori r3,r3,0x000E
80 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020081 li r3,0x00 # HEADTYPE
Heiko Schocherf5e0d032006-06-19 11:02:41 +020082 stb r3,0x2(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020083 lis r3,0x8000 # ADDR_0F
Heiko Schocherf5e0d032006-06-19 11:02:41 +020084 ori r3,r3,0x000F
85 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020086 li r3,0x00 # BISTCTRL
Heiko Schocherf5e0d032006-06-19 11:02:41 +020087 stb r3,0x3(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020088 lis r3,0x8000 # ADDR_10
Heiko Schocherf5e0d032006-06-19 11:02:41 +020089 ori r3,r3,0x0010
90 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020091 lis r3,0x0000 # LMBAR
Heiko Schocherf5e0d032006-06-19 11:02:41 +020092 ori r3,r3,0x0008
93 li r8, 0x0
94 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020095 lis r3,0x8000 # ADDR_14
Heiko Schocherf5e0d032006-06-19 11:02:41 +020096 ori r3,r3,0x0014
97 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +020098 lis r3,0xF000 # PCSRBAR
Heiko Schocherf5e0d032006-06-19 11:02:41 +020099 ori r3,r3,0x0000
100 li r8, 0x0
101 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200102 lis r3,0x8000 # ADDR_3C
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200103 ori r3,r3,0x003C
104 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200105 li r3,0x00 # ILR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200106 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200107 lis r3,0x8000 # ADDR_3D
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200108 ori r3,r3,0x003D
109 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200110 li r3,0x01 # INTPIN
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200111 stb r3,0x1(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200112 lis r3,0x8000 # ADDR_3E
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200113 ori r3,r3,0x003E
114 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200115 li r3,0x00 # MIN_GNT
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200116 stb r3,0x2(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200117 lis r3,0x8000 # ADDR_3F
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200118 ori r3,r3,0x003F
119 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200120 li r3,0x00 # MAX_LAT
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200121 stb r3,0x3(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200122 lis r3,0x8000 # ADDR_40
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200123 ori r3,r3,0x0040
124 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200125 li r3,0x00 # BUSNB
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200126 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200127 lis r3,0x8000 # ADDR_41
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200128 ori r3,r3,0x0041
129 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200130 li r3,0x00 # SBUSNB
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200131 stb r3,0x1(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200132 lis r3,0x8000 # ADDR_46
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200133 ori r3,r3,0x0046
134 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200135# li r3,0xE080 # PCIARB
136 li r3,-0x1F80 # PCIARB
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200137 li r8, 0x2
138 sthbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200139 lis r3,0x8000 # ADDR_70
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200140 ori r3,r3,0x0070
141 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200142 li r3,0x0000 # PMCR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200143 li r8, 0x0
144 sthbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200145 lis r3,0x8000 # ADDR_72
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200146 ori r3,r3,0x0072
147 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200148 li r3,0xC0 # PMCR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200149 stb r3,0x2(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200150 lis r3,0x8000 # ADDR_73
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200151 ori r3,r3,0x0073
152 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200153 li r3,0xEF # ODCR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200154 stb r3,0x3(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200155 lis r3,0x8000 # ADDR_74
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200156 ori r3,r3,0x0074
157 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200158 li r3,0x7D00 # CLKDCR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200159 li r8, 0x0
160 sthbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200161 lis r3,0x8000 # ADDR_76
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200162 ori r3,r3,0x0076
163 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200164 li r3,0x00 # MDCR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200165 stb r3,0x2(r5)
166 lis r6,0xFCE0
167 ori r6,r6,0x0000 # r6 is the EUMBAR Base Address
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200168 lis r3,0x8000 # ADDR_78
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200169 ori r3,r3,0x0078
170 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200171 lis r3,0xFCE0 # EUMBBAR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200172 ori r3,r3,0x0000
173 li r8, 0x0
174 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200175 lis r3,0x8000 # ADDR_80
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200176 ori r3,r3,0x0080
177 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200178 lis r3,0xFFFF # MSADDR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200179 ori r3,r3,0x4000
180 li r8, 0x0
181 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200182 lis r3,0x8000 # ADDR_84
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200183 ori r3,r3,0x0084
184 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200185 lis r3,0xFFFF # MSADDR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200186 ori r3,r3,0xFFFF
187 li r8, 0x0
188 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200189 lis r3,0x8000 # ADDR_88
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200190 ori r3,r3,0x0088
191 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200192 lis r3,0x0303 # EMSADDR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200193 ori r3,r3,0x0000
194 li r8, 0x0
195 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200196 lis r3,0x8000 # ADDR_8C
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200197 ori r3,r3,0x008C
198 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200199 lis r3,0x0303 # EMSADDR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200200 ori r3,r3,0x0303
201 li r8, 0x0
202 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200203 lis r3,0x8000 # ADDR_90
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200204 ori r3,r3,0x0090
205 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200206 lis r3,0xFFFF # EMEADDR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200207 ori r3,r3,0x7F3F
208 li r8, 0x0
209 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200210 lis r3,0x8000 # ADDR_94
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200211 ori r3,r3,0x0094
212 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200213 lis r3,0xFFFF # EMEADDR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200214 ori r3,r3,0xFFFF
215 li r8, 0x0
216 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200217 lis r3,0x8000 # ADDR_98
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200218 ori r3,r3,0x0098
219 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200220 lis r3,0x0303 # EXTEMEM1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200221 ori r3,r3,0x0000
222 li r8, 0x0
223 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200224 lis r3,0x8000 # ADDR_9C
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200225 ori r3,r3,0x009C
226 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200227 lis r3,0x0303 # EXTEMEM2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200228 ori r3,r3,0x0303
229 li r8, 0x0
230 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200231 lis r3,0x8000 # ADDR_A0
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200232 ori r3,r3,0x00A0
233 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200234 li r3,0x03 # MEMBNKEN
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200235 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200236 lis r3,0x8000 # ADDR_A3
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200237 ori r3,r3,0x00A3
238 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200239 li r3,0x00 # MEMPMODE
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200240 stb r3,0x3(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200241 lis r3,0x8000 # ADDR_B8
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200242 ori r3,r3,0x00B8
243 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200244 li r3,0x00 # ECCCNT
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200245 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200246 lis r3,0x8000 # ADDR_B9
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200247 ori r3,r3,0x00B9
248 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200249 li r3,0x00 # ECCTRG
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200250 stb r3,0x1(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200251 lis r3,0x8000 # ADDR_C0
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200252 ori r3,r3,0x00C0
253 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200254 li r3,0xFF # ERRENR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200255 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200256 lis r3,0x8000 # ADDR_C1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200257 ori r3,r3,0x00C1
258 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200259 li r3,0x00 # ERRDR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200260 stb r3,0x1(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200261 lis r3,0x8000 # ADDR_C3
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200262 ori r3,r3,0x00C3
263 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200264 li r3,0x50 # IPBESR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200265 stb r3,0x3(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200266 lis r3,0x8000 # ADDR_C4
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200267 ori r3,r3,0x00C4
268 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200269 li r3,0xBF # ERRENR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200270 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200271 lis r3,0x8000 # ADDR_C5
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200272 ori r3,r3,0x00C5
273 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200274 li r3,0x00 # ERRDR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200275 stb r3,0x1(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200276 lis r3,0x8000 # ADDR_C7
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200277 ori r3,r3,0x00C7
278 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200279 li r3,0x00 # PCIBESR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200280 stb r3,0x3(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200281 lis r3,0x8000 # ADDR_C8
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200282 ori r3,r3,0x00C8
283 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200284 lis r3,0x0000 # BERRADDR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200285 ori r3,r3,0xE0FE
286 li r8, 0x0
287 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200288 lis r3,0x8000 # ADDR_E0
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200289 ori r3,r3,0x00E0
290 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200291 li r3,0xC0 # AMBOR
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200292 stb r3,0x0(r5)
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200293 lis r3,0x8000 # ADDR_F4
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200294 ori r3,r3,0x00F4
295 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200296 lis r3,0x0000 # MCCR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200297 ori r3,r3,0x020C
298 li r8, 0x0
299 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200300 lis r3,0x8000 # ADDR_F8
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200301 ori r3,r3,0x00F8
302 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200303 lis r3,0x0230 # MCCR3
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200304 ori r3,r3,0x0000
305 li r8, 0x0
306 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200307 lis r3,0x8000 # ADDR_FC
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200308 ori r3,r3,0x00FC
309 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200310 lis r3,0x2532 # MCCR4
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200311 ori r3,r3,0x2220
312 li r8, 0x0
313 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200314 lis r3,0x8000 # ADDR_F0
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200315 ori r3,r3,0x00F0
316 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200317 lis r3,0xFFC8 # MCCR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200318 ori r3,r3,0x0000
319 li r8, 0x0
320 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200321 lis r3,0x8000 # ADDR_A8
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200322 ori r3,r3,0x00A8
323 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200324 lis r3,0xFF14 # PICR1
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200325 ori r3,r3,0x1CC8
326 li r8, 0x0
327 stwbrx r3,r8,r5
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200328 lis r3,0x8000 # ADDR_AC
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200329 ori r3,r3,0x00AC
330 stwbrx r3,0,r4
Wolfgang Denkb87dfd22006-07-19 13:50:38 +0200331 lis r3,0x0000 # PICR2
Heiko Schocherf5e0d032006-06-19 11:02:41 +0200332 ori r3,r3,0x0000
333 li r8, 0x0
334 stwbrx r3,r8,r5
335
336 blr