Eric Biederman | b138ac8 | 2003-04-22 18:44:01 +0000 | [diff] [blame] | 1 | static void ram_set_registers(void) |
2 | { | ||||
3 | static const unsigned int register_values[] = { | ||||
4 | 0x000c, 0x00000000, | ||||
5 | 0x0010, 0x90000008, | ||||
6 | 0x0014, 0x00000000, | ||||
7 | 0x002c, 0x74541022, | ||||
8 | 0x0030, 0x00000000, | ||||
9 | 0x0034, 0x000000a0, | ||||
10 | 0x0038, 0x00000000, | ||||
11 | 0x0040, 0x00000001, | ||||
12 | 0x0044, 0x00000000, | ||||
13 | 0x0050, 0x0016000b, | ||||
14 | 0x0058, 0x00000000, | ||||
15 | 0x0060, 0xd02950e1, | ||||
16 | 0x0064, 0x00000000, | ||||
17 | 0x00a0, 0x0030c002, | ||||
18 | 0x00a4, 0x1f000b77, | ||||
19 | 0x00a8, 0x00000b21, | ||||
20 | 0x00ac, 0x00000000, | ||||
21 | 0x00b0, 0x00000100, | ||||
22 | 0x00b4, 0x00010900, | ||||
23 | 0x00b8, 0x00000000, | ||||
24 | 0x00c0, 0x00600008, | ||||
25 | 0x00c4, 0x11110020, | ||||
26 | 0x00c8, 0x00000020, | ||||
27 | 0x00cc, 0x00350522, | ||||
28 | 0x00d0, 0x00350002, | ||||
29 | 0x00d4, 0x00000000, | ||||
30 | 0x00e0, 0x000d0808, | ||||
31 | 0x00e4, 0x000c0808, | ||||
32 | 0x00e8, 0x00130f0f, | ||||
33 | 0x00ec, 0x00000000, | ||||
34 | 0x00f0, 0x00040008, | ||||
35 | 0x00f4, 0x00000000, | ||||
36 | |||||
37 | |||||
38 | |||||
39 | |||||
40 | |||||
41 | 0x080c, 0x00012000, | ||||
42 | 0x0810, 0x00000000, | ||||
43 | 0x0818, 0x20010100, | ||||
44 | 0x081c, 0x2220c1c1, | ||||
45 | 0x0820, 0xe1f0e000, | ||||
46 | 0x0824, 0xdff0d800, | ||||
47 | 0x0828, 0x00000000, | ||||
48 | 0x083c, 0x000c00ff, | ||||
49 | 0x0840, 0x00000000, | ||||
50 | |||||
51 | |||||
52 | |||||
53 | |||||
54 | |||||
55 | 0x300c, 0x00012000, | ||||
56 | 0x3010, 0x00000000, | ||||
57 | 0x3018, 0x20020200, | ||||
58 | 0x301c, 0x220000f0, | ||||
59 | 0x3020, 0xe3f0e200, | ||||
60 | 0x3024, 0x0000fff0, | ||||
61 | 0x3028, 0x00000000, | ||||
62 | 0x3034, 0x000000c0, | ||||
63 | 0x3038, 0x00000000, | ||||
64 | 0x303c, 0x000600ff, | ||||
65 | 0x3040, 0x00000000, | ||||
66 | 0x3060, 0x06040000, | ||||
67 | 0x3064, 0x00000000, | ||||
68 | 0x30c0, 0x0086f008, | ||||
69 | 0x30c4, 0x00000020, | ||||
70 | 0x30c8, 0x000000d0, | ||||
71 | 0x30cc, 0x00010022, | ||||
72 | 0x30d0, 0x00000002, | ||||
73 | 0x30d4, 0x00000000, | ||||
74 | 0x30e0, 0x000d0008, | ||||
75 | 0x30e4, 0x000e0008, | ||||
76 | 0x30e8, 0x0016000f, | ||||
77 | 0x30ec, 0x00000000, | ||||
78 | 0x30f0, 0x80000008, | ||||
79 | 0x30f4, 0x00000000, | ||||
80 | |||||
81 | |||||
82 | |||||
83 | |||||
84 | |||||
85 | 0x3a0c, 0x00002000, | ||||
86 | 0x3a10, 0x0000d401, | ||||
87 | 0x3a14, 0x00000000, | ||||
88 | 0x3a2c, 0x746a1022, | ||||
89 | 0x3a30, 0x00000000, | ||||
90 | 0x3a3c, 0x0000040c, | ||||
91 | 0x3a40, 0x0c050002, | ||||
92 | 0x3a44, 0x746a1022, | ||||
93 | 0x3a48, 0x00000006, | ||||
94 | 0x3a4c, 0x00000000, | ||||
95 | |||||
96 | |||||
97 | |||||
98 | |||||
99 | |||||
100 | 0x3b0c, 0x00002000, | ||||
101 | 0x3b10, 0x00000000, | ||||
102 | 0x3b2c, 0x746b1022, | ||||
103 | 0x3b30, 0x00000000, | ||||
104 | 0x3b40, 0x84099100, | ||||
105 | 0x3b44, 0x00000000, | ||||
106 | 0x3b48, 0x00500420, | ||||
107 | 0x3b4c, 0x00000000, | ||||
108 | 0x3b50, 0x00008101, | ||||
109 | 0x3b54, 0xc5ba000f, | ||||
110 | 0x3b58, 0x00005001, | ||||
111 | 0x3b5c, 0x00000000, | ||||
112 | 0x3b60, 0x06800000, | ||||
113 | 0x3b64, 0x00000013, | ||||
114 | 0x3b68, 0x00000000, | ||||
115 | 0x3b70, 0xd54b2906, | ||||
116 | 0x3b74, 0x0000000c, | ||||
117 | 0x3b78, 0x00000000, | ||||
118 | 0x3b7c, 0x746b1022, | ||||
119 | 0x3b80, 0x00000000, | ||||
120 | 0x3b84, 0x00000001, | ||||
121 | 0x3b88, 0x00000000, | ||||
122 | 0x3bf0, 0x0072ff93, | ||||
123 | 0x3bf4, 0x00000000, | ||||
124 | |||||
125 | |||||
126 | |||||
127 | |||||
128 | |||||
129 | 0x900c, 0x00800000, | ||||
130 | 0x9010, 0x00000000, | ||||
131 | 0x9014, 0x00000000, | ||||
132 | 0x9018, 0x00000000, | ||||
133 | 0x901C, 0x00000000, | ||||
134 | 0x9020, 0x00000000, | ||||
135 | 0x9024, 0x00000000, | ||||
136 | 0x9028, 0x00000000, | ||||
137 | 0x902C, 0x00000000, | ||||
138 | 0x9030, 0x00000000, | ||||
139 | 0x9034, 0x00000080, | ||||
140 | 0x9038, 0x00000000, | ||||
141 | 0x903C, 0x00000000, | ||||
142 | 0x9040, 0x00010101, | ||||
143 | 0x9044, 0x00000000, | ||||
144 | 0x9048, 0x00000000, | ||||
145 | 0x904C, 0x00000000, | ||||
146 | 0x9050, 0x00000000, | ||||
147 | 0x9054, 0x00000000, | ||||
148 | 0x9058, 0x00000000, | ||||
149 | 0x905C, 0x00000000, | ||||
150 | 0x9060, 0x00000000, | ||||
151 | 0x9064, 0x000000e4, | ||||
152 | 0x9068, 0x0f008c0f, | ||||
153 | 0x906c, 0x0000002c, | ||||
154 | 0x9070, 0x00000000, | ||||
155 | 0x9074, 0x00000000, | ||||
156 | 0x9078, 0x00000000, | ||||
157 | 0x907C, 0x00000000, | ||||
158 | 0x9080, 0x21010008, | ||||
159 | 0x9084, 0x11110020, | ||||
160 | 0x9088, 0x80750522, | ||||
161 | 0x908c, 0x00000002, | ||||
162 | 0x9090, 0x02510456, | ||||
163 | 0x9094, 0x00ff0000, | ||||
164 | 0x9098, 0x00000007, | ||||
165 | 0x909c, 0x00000000, | ||||
166 | 0x90a0, 0x00000000, | ||||
167 | 0x90a4, 0x00000000, | ||||
168 | 0x90a8, 0x00000000, | ||||
169 | 0x90aC, 0x00000000, | ||||
170 | 0x90b0, 0x00000000, | ||||
171 | 0x90b4, 0x00000000, | ||||
172 | 0x90b8, 0x00000000, | ||||
173 | 0x90bC, 0x00000000, | ||||
174 | 0x90c0, 0x00000000, | ||||
175 | 0x90c4, 0x00000000, | ||||
176 | 0x90c8, 0x00000000, | ||||
177 | 0x90cC, 0x00000000, | ||||
178 | |||||
179 | |||||
180 | |||||
181 | |||||
182 | 0x910c, 0x00800000, | ||||
183 | 0x9110, 0x00000000, | ||||
184 | 0x9140, 0x00000003, | ||||
185 | 0x9144, 0x001f0000, | ||||
186 | 0x9148, 0x00200000, | ||||
187 | 0x914c, 0x00000001, | ||||
188 | 0x9150, 0x00200000, | ||||
189 | 0x9154, 0x00000002, | ||||
190 | 0x9158, 0x00200000, | ||||
191 | 0x915c, 0x00000003, | ||||
192 | 0x9160, 0x00200000, | ||||
193 | 0x9164, 0x00000004, | ||||
194 | 0x9168, 0x00200000, | ||||
195 | 0x916c, 0x00000005, | ||||
196 | 0x9170, 0x00200000, | ||||
197 | 0x9174, 0x00000006, | ||||
198 | 0x9178, 0x00200000, | ||||
199 | 0x917c, 0x00000007, | ||||
200 | 0x9180, 0x00e00003, | ||||
201 | 0x9184, 0x00e1ff00, | ||||
202 | 0x9188, 0x00d80003, | ||||
203 | 0x918c, 0x00dfff00, | ||||
204 | 0x9190, 0x00e20003, | ||||
205 | 0x9194, 0x00e3ff00, | ||||
206 | 0x9198, 0x00000000, | ||||
207 | 0x91b0, 0x00000a03, | ||||
208 | 0x91b4, 0x00000b00, | ||||
209 | 0x91b8, 0x00200003, | ||||
210 | 0x91bc, 0x00fe0b00, | ||||
211 | 0x91c0, 0x0000c003, | ||||
212 | 0x91c4, 0x0000c000, | ||||
213 | 0x91c8, 0x00001013, | ||||
214 | 0x91cc, 0x000ff000, | ||||
215 | 0x91d0, 0x00000000, | ||||
216 | 0x91e0, 0xff000003, | ||||
217 | 0x91e4, 0x00000000, | ||||
218 | 0x9200, 0x11021022, | ||||
219 | 0x9204, 0x00000000, | ||||
220 | 0x9208, 0x06000000, | ||||
221 | 0x920c, 0x00800000, | ||||
222 | 0x9210, 0x00000000, | ||||
223 | 0x9240, 0x00000001, | ||||
224 | 0x9244, 0x00800001, | ||||
225 | 0x9248, 0x01000001, | ||||
226 | 0x924c, 0x01800001, | ||||
227 | 0x9250, 0x00000000, | ||||
228 | 0x9260, 0x0060fe00, | ||||
229 | 0x9270, 0x00000000, | ||||
230 | 0x9280, 0x00000022, | ||||
231 | 0x9284, 0x00000000, | ||||
232 | 0x9288, 0x03623125, | ||||
233 | 0x928c, 0x00000130, | ||||
234 | 0x9290, 0x080c8000, | ||||
235 | 0x9294, 0x0e2b0a06, | ||||
236 | 0x9298, 0x00000000, | ||||
237 | 0x92b0, 0xd1e8eb05, | ||||
238 | 0x92b4, 0x000000cc, | ||||
239 | 0x92b8, 0xdfbfe7ad, | ||||
240 | 0x92bc, 0xdf4bdfae, | ||||
241 | 0x92c0, 0x00000003, | ||||
242 | 0x92c4, 0x00000000, | ||||
243 | 0x92cc, 0x9f1f0000, | ||||
244 | 0x92d0, 0xfbf177f5, | ||||
245 | 0x92d4, 0x3fefda0e, | ||||
246 | 0x92d8, 0x33bd35dc, | ||||
247 | 0x92dc, 0x578d89c1, | ||||
248 | 0x92e0, 0xdae70105, | ||||
249 | 0x92e4, 0xfa835cfc, | ||||
250 | 0x92e8, 0x404e87e6, | ||||
251 | 0x92ec, 0xba35df44, | ||||
252 | 0x92f0, 0x00000000, | ||||
253 | |||||
254 | |||||
255 | |||||
256 | |||||
257 | |||||
258 | 0x930c, 0x00800000, | ||||
259 | 0x9310, 0x00000000, | ||||
260 | 0x9340, 0x00003bff, | ||||
261 | 0x9344, 0x00000040, | ||||
262 | 0x9348, 0x00000000, | ||||
263 | 0x935c, 0xfe3fb540, | ||||
264 | 0x9360, 0x00000090, | ||||
265 | 0x9364, 0x00000000, | ||||
266 | 0x9370, 0x51020111, | ||||
267 | 0x9374, 0x50008011, | ||||
268 | 0x9378, 0x08003800, | ||||
269 | 0x937c, 0x0000221b, | ||||
270 | 0x9380, 0x21272321, | ||||
271 | 0x9384, 0x00232123, | ||||
272 | 0x9388, 0x00000000, | ||||
273 | 0x9390, 0x00000005, | ||||
274 | 0x9394, 0x00000068, | ||||
275 | 0x9398, 0x001fe800, | ||||
276 | 0x939c, 0x00000000, | ||||
277 | 0x93b8, 0xe000001d, | ||||
278 | 0x93bc, 0x000000bb, | ||||
279 | 0x93c0, 0x00000000, | ||||
280 | 0x93d4, 0x000d0001, | ||||
281 | 0x93d8, 0x00000000, | ||||
282 | 0x93e4, 0x00001520, | ||||
283 | 0x93e8, 0x00000108, | ||||
284 | 0x93ec, 0x00000000, | ||||
285 | }; | ||||
286 | int max; | ||||
287 | max = sizeof(register_values); | ||||
288 | } |