17 config BAT0_LENGTH_128_KBYTES
20 config BAT0_LENGTH_256_KBYTES
23 config BAT0_LENGTH_512_KBYTES
26 config BAT0_LENGTH_1_MBYTES
29 config BAT0_LENGTH_2_MBYTES
32 config BAT0_LENGTH_4_MBYTES
35 config BAT0_LENGTH_8_MBYTES
38 config BAT0_LENGTH_16_MBYTES
41 config BAT0_LENGTH_32_MBYTES
44 config BAT0_LENGTH_64_MBYTES
47 config BAT0_LENGTH_128_MBYTES
50 config BAT0_LENGTH_256_MBYTES
55 prompt "Protection mode"
57 config BAT0_ACCESS_NONE
68 config BAT0_ICACHE_WRITETHROUGH
69 bool "I-cache Write-through"
71 config BAT0_ICACHE_INHIBITED
72 bool "I-cache Inhibited"
74 config BAT0_ICACHE_MEMORYCOHERENCE
75 bool "I-cache Memory coherence"
77 config BAT0_ICACHE_GUARDED
78 bool "I-cache Guarded"
80 config BAT0_DCACHE_WRITETHROUGH
81 bool "D-cache Write-through"
83 config BAT0_DCACHE_INHIBITED
84 bool "D-cache Inhibited"
86 config BAT0_DCACHE_MEMORYCOHERENCE
87 bool "D-cache Memory coherence"
89 config BAT0_DCACHE_GUARDED
90 bool "D-cache Guarded"
92 config BAT0_USER_MODE_VALID
93 bool "User mode valid"
95 config BAT0_SUPERVISOR_MODE_VALID
96 bool "Supervisor mode valid"
102 default 0x00000000 if BAT0_LENGTH_128_KBYTES
103 default 0x00000004 if BAT0_LENGTH_256_KBYTES
104 default 0x0000000c if BAT0_LENGTH_512_KBYTES
105 default 0x0000001c if BAT0_LENGTH_1_MBYTES
106 default 0x0000003c if BAT0_LENGTH_2_MBYTES
107 default 0x0000007c if BAT0_LENGTH_4_MBYTES
108 default 0x000000fc if BAT0_LENGTH_8_MBYTES
109 default 0x000001fc if BAT0_LENGTH_16_MBYTES
110 default 0x000003fc if BAT0_LENGTH_32_MBYTES
111 default 0x000007fc if BAT0_LENGTH_64_MBYTES
112 default 0x00000ffc if BAT0_LENGTH_128_MBYTES
113 default 0x00001ffc if BAT0_LENGTH_256_MBYTES
115 config BAT0_PAGE_PROTECTION
117 default 0x0 if BAT0_ACCESS_NONE
118 default 0x1 if BAT0_ACCESS_RO
119 default 0x2 if BAT0_ACCESS_RW
121 config BAT0_WIMG_ICACHE
123 default 0x0 if !BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
124 default 0x8 if !BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
125 default 0x10 if !BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
126 default 0x18 if !BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
127 default 0x20 if !BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
128 default 0x28 if !BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
129 default 0x30 if !BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
130 default 0x38 if !BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
131 default 0x40 if BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
132 default 0x48 if BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
133 default 0x50 if BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
134 default 0x58 if BAT0_ICACHE_WRITETHROUGH && !BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
135 default 0x60 if BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
136 default 0x68 if BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && !BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
137 default 0x70 if BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && !BAT0_ICACHE_GUARDED
138 default 0x78 if BAT0_ICACHE_WRITETHROUGH && BAT0_ICACHE_INHIBITED && BAT0_ICACHE_MEMORYCOHERENCE && BAT0_ICACHE_GUARDED
140 config BAT0_WIMG_DCACHE
142 default 0x0 if !BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
143 default 0x8 if !BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
144 default 0x10 if !BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
145 default 0x18 if !BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
146 default 0x20 if !BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
147 default 0x28 if !BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
148 default 0x30 if !BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
149 default 0x38 if !BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
150 default 0x40 if BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
151 default 0x48 if BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
152 default 0x50 if BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
153 default 0x58 if BAT0_DCACHE_WRITETHROUGH && !BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
154 default 0x60 if BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
155 default 0x68 if BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && !BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
156 default 0x70 if BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && !BAT0_DCACHE_GUARDED
157 default 0x78 if BAT0_DCACHE_WRITETHROUGH && BAT0_DCACHE_INHIBITED && BAT0_DCACHE_MEMORYCOHERENCE && BAT0_DCACHE_GUARDED
159 config BAT0_VALID_BITS
161 default 0x0 if !BAT0_SUPERVISOR_MODE_VALID && !BAT0_USER_MODE_VALID
162 default 0x1 if !BAT0_SUPERVISOR_MODE_VALID && BAT0_USER_MODE_VALID
163 default 0x2 if BAT0_SUPERVISOR_MODE_VALID && !BAT0_USER_MODE_VALID
164 default 0x3 if BAT0_SUPERVISOR_MODE_VALID && BAT0_USER_MODE_VALID
178 prompt "Block length"
180 config BAT1_LENGTH_128_KBYTES
183 config BAT1_LENGTH_256_KBYTES
186 config BAT1_LENGTH_512_KBYTES
189 config BAT1_LENGTH_1_MBYTES
192 config BAT1_LENGTH_2_MBYTES
195 config BAT1_LENGTH_4_MBYTES
198 config BAT1_LENGTH_8_MBYTES
201 config BAT1_LENGTH_16_MBYTES
204 config BAT1_LENGTH_32_MBYTES
207 config BAT1_LENGTH_64_MBYTES
210 config BAT1_LENGTH_128_MBYTES
213 config BAT1_LENGTH_256_MBYTES
218 prompt "Protection mode"
220 config BAT1_ACCESS_NONE
223 config BAT1_ACCESS_RO
226 config BAT1_ACCESS_RW
231 config BAT1_ICACHE_WRITETHROUGH
232 bool "I-cache Write-through"
234 config BAT1_ICACHE_INHIBITED
235 bool "I-cache Inhibited"
237 config BAT1_ICACHE_MEMORYCOHERENCE
238 bool "I-cache Memory coherence"
240 config BAT1_ICACHE_GUARDED
241 bool "I-cache Guarded"
243 config BAT1_DCACHE_WRITETHROUGH
244 bool "D-cache Write-through"
246 config BAT1_DCACHE_INHIBITED
247 bool "D-cache Inhibited"
249 config BAT1_DCACHE_MEMORYCOHERENCE
250 bool "D-cache Memory coherence"
252 config BAT1_DCACHE_GUARDED
253 bool "D-cache Guarded"
255 config BAT1_USER_MODE_VALID
256 bool "User mode valid"
258 config BAT1_SUPERVISOR_MODE_VALID
259 bool "Supervisor mode valid"
265 default 0x00000000 if BAT1_LENGTH_128_KBYTES
266 default 0x00000004 if BAT1_LENGTH_256_KBYTES
267 default 0x0000000c if BAT1_LENGTH_512_KBYTES
268 default 0x0000001c if BAT1_LENGTH_1_MBYTES
269 default 0x0000003c if BAT1_LENGTH_2_MBYTES
270 default 0x0000007c if BAT1_LENGTH_4_MBYTES
271 default 0x000000fc if BAT1_LENGTH_8_MBYTES
272 default 0x000001fc if BAT1_LENGTH_16_MBYTES
273 default 0x000003fc if BAT1_LENGTH_32_MBYTES
274 default 0x000007fc if BAT1_LENGTH_64_MBYTES
275 default 0x00000ffc if BAT1_LENGTH_128_MBYTES
276 default 0x00001ffc if BAT1_LENGTH_256_MBYTES
278 config BAT1_PAGE_PROTECTION
280 default 0x0 if BAT1_ACCESS_NONE
281 default 0x1 if BAT1_ACCESS_RO
282 default 0x2 if BAT1_ACCESS_RW
284 config BAT1_WIMG_ICACHE
286 default 0x0 if !BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
287 default 0x8 if !BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
288 default 0x10 if !BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
289 default 0x18 if !BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
290 default 0x20 if !BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
291 default 0x28 if !BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
292 default 0x30 if !BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
293 default 0x38 if !BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
294 default 0x40 if BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
295 default 0x48 if BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
296 default 0x50 if BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
297 default 0x58 if BAT1_ICACHE_WRITETHROUGH && !BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
298 default 0x60 if BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
299 default 0x68 if BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && !BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
300 default 0x70 if BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && !BAT1_ICACHE_GUARDED
301 default 0x78 if BAT1_ICACHE_WRITETHROUGH && BAT1_ICACHE_INHIBITED && BAT1_ICACHE_MEMORYCOHERENCE && BAT1_ICACHE_GUARDED
303 config BAT1_WIMG_DCACHE
305 default 0x0 if !BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
306 default 0x8 if !BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
307 default 0x10 if !BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
308 default 0x18 if !BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
309 default 0x20 if !BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
310 default 0x28 if !BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
311 default 0x30 if !BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
312 default 0x38 if !BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
313 default 0x40 if BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
314 default 0x48 if BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
315 default 0x50 if BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
316 default 0x58 if BAT1_DCACHE_WRITETHROUGH && !BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
317 default 0x60 if BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
318 default 0x68 if BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && !BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
319 default 0x70 if BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && !BAT1_DCACHE_GUARDED
320 default 0x78 if BAT1_DCACHE_WRITETHROUGH && BAT1_DCACHE_INHIBITED && BAT1_DCACHE_MEMORYCOHERENCE && BAT1_DCACHE_GUARDED
322 config BAT1_VALID_BITS
324 default 0x0 if !BAT1_SUPERVISOR_MODE_VALID && !BAT1_USER_MODE_VALID
325 default 0x1 if !BAT1_SUPERVISOR_MODE_VALID && BAT1_USER_MODE_VALID
326 default 0x2 if BAT1_SUPERVISOR_MODE_VALID && !BAT1_USER_MODE_VALID
327 default 0x3 if BAT1_SUPERVISOR_MODE_VALID && BAT1_USER_MODE_VALID
341 prompt "Block length"
343 config BAT2_LENGTH_128_KBYTES
346 config BAT2_LENGTH_256_KBYTES
349 config BAT2_LENGTH_512_KBYTES
352 config BAT2_LENGTH_1_MBYTES
355 config BAT2_LENGTH_2_MBYTES
358 config BAT2_LENGTH_4_MBYTES
361 config BAT2_LENGTH_8_MBYTES
364 config BAT2_LENGTH_16_MBYTES
367 config BAT2_LENGTH_32_MBYTES
370 config BAT2_LENGTH_64_MBYTES
373 config BAT2_LENGTH_128_MBYTES
376 config BAT2_LENGTH_256_MBYTES
381 prompt "Protection mode"
383 config BAT2_ACCESS_NONE
386 config BAT2_ACCESS_RO
389 config BAT2_ACCESS_RW
394 config BAT2_ICACHE_WRITETHROUGH
395 bool "I-cache Write-through"
397 config BAT2_ICACHE_INHIBITED
398 bool "I-cache Inhibited"
400 config BAT2_ICACHE_MEMORYCOHERENCE
401 bool "I-cache Memory coherence"
403 config BAT2_ICACHE_GUARDED
404 bool "I-cache Guarded"
406 config BAT2_DCACHE_WRITETHROUGH
407 bool "D-cache Write-through"
409 config BAT2_DCACHE_INHIBITED
410 bool "D-cache Inhibited"
412 config BAT2_DCACHE_MEMORYCOHERENCE
413 bool "D-cache Memory coherence"
415 config BAT2_DCACHE_GUARDED
416 bool "D-cache Guarded"
418 config BAT2_USER_MODE_VALID
419 bool "User mode valid"
421 config BAT2_SUPERVISOR_MODE_VALID
422 bool "Supervisor mode valid"
428 default 0x00000000 if BAT2_LENGTH_128_KBYTES
429 default 0x00000004 if BAT2_LENGTH_256_KBYTES
430 default 0x0000000c if BAT2_LENGTH_512_KBYTES
431 default 0x0000001c if BAT2_LENGTH_1_MBYTES
432 default 0x0000003c if BAT2_LENGTH_2_MBYTES
433 default 0x0000007c if BAT2_LENGTH_4_MBYTES
434 default 0x000000fc if BAT2_LENGTH_8_MBYTES
435 default 0x000001fc if BAT2_LENGTH_16_MBYTES
436 default 0x000003fc if BAT2_LENGTH_32_MBYTES
437 default 0x000007fc if BAT2_LENGTH_64_MBYTES
438 default 0x00000ffc if BAT2_LENGTH_128_MBYTES
439 default 0x00001ffc if BAT2_LENGTH_256_MBYTES
441 config BAT2_PAGE_PROTECTION
443 default 0x0 if BAT2_ACCESS_NONE
444 default 0x1 if BAT2_ACCESS_RO
445 default 0x2 if BAT2_ACCESS_RW
447 config BAT2_WIMG_ICACHE
449 default 0x0 if !BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
450 default 0x8 if !BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
451 default 0x10 if !BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
452 default 0x18 if !BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
453 default 0x20 if !BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
454 default 0x28 if !BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
455 default 0x30 if !BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
456 default 0x38 if !BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
457 default 0x40 if BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
458 default 0x48 if BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
459 default 0x50 if BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
460 default 0x58 if BAT2_ICACHE_WRITETHROUGH && !BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
461 default 0x60 if BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
462 default 0x68 if BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && !BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
463 default 0x70 if BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && !BAT2_ICACHE_GUARDED
464 default 0x78 if BAT2_ICACHE_WRITETHROUGH && BAT2_ICACHE_INHIBITED && BAT2_ICACHE_MEMORYCOHERENCE && BAT2_ICACHE_GUARDED
466 config BAT2_WIMG_DCACHE
468 default 0x0 if !BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
469 default 0x8 if !BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
470 default 0x10 if !BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
471 default 0x18 if !BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
472 default 0x20 if !BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
473 default 0x28 if !BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
474 default 0x30 if !BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
475 default 0x38 if !BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
476 default 0x40 if BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
477 default 0x48 if BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
478 default 0x50 if BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
479 default 0x58 if BAT2_DCACHE_WRITETHROUGH && !BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
480 default 0x60 if BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
481 default 0x68 if BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && !BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
482 default 0x70 if BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && !BAT2_DCACHE_GUARDED
483 default 0x78 if BAT2_DCACHE_WRITETHROUGH && BAT2_DCACHE_INHIBITED && BAT2_DCACHE_MEMORYCOHERENCE && BAT2_DCACHE_GUARDED
485 config BAT2_VALID_BITS
487 default 0x0 if !BAT2_SUPERVISOR_MODE_VALID && !BAT2_USER_MODE_VALID
488 default 0x1 if !BAT2_SUPERVISOR_MODE_VALID && BAT2_USER_MODE_VALID
489 default 0x2 if BAT2_SUPERVISOR_MODE_VALID && !BAT2_USER_MODE_VALID
490 default 0x3 if BAT2_SUPERVISOR_MODE_VALID && BAT2_USER_MODE_VALID
504 prompt "Block length"
506 config BAT3_LENGTH_128_KBYTES
509 config BAT3_LENGTH_256_KBYTES
512 config BAT3_LENGTH_512_KBYTES
515 config BAT3_LENGTH_1_MBYTES
518 config BAT3_LENGTH_2_MBYTES
521 config BAT3_LENGTH_4_MBYTES
524 config BAT3_LENGTH_8_MBYTES
527 config BAT3_LENGTH_16_MBYTES
530 config BAT3_LENGTH_32_MBYTES
533 config BAT3_LENGTH_64_MBYTES
536 config BAT3_LENGTH_128_MBYTES
539 config BAT3_LENGTH_256_MBYTES
544 prompt "Protection mode"
546 config BAT3_ACCESS_NONE
549 config BAT3_ACCESS_RO
552 config BAT3_ACCESS_RW
557 config BAT3_ICACHE_WRITETHROUGH
558 bool "I-cache Write-through"
560 config BAT3_ICACHE_INHIBITED
561 bool "I-cache Inhibited"
563 config BAT3_ICACHE_MEMORYCOHERENCE
564 bool "I-cache Memory coherence"
566 config BAT3_ICACHE_GUARDED
567 bool "I-cache Guarded"
569 config BAT3_DCACHE_WRITETHROUGH
570 bool "D-cache Write-through"
572 config BAT3_DCACHE_INHIBITED
573 bool "D-cache Inhibited"
575 config BAT3_DCACHE_MEMORYCOHERENCE
576 bool "D-cache Memory coherence"
578 config BAT3_DCACHE_GUARDED
579 bool "D-cache Guarded"
581 config BAT3_USER_MODE_VALID
582 bool "User mode valid"
584 config BAT3_SUPERVISOR_MODE_VALID
585 bool "Supervisor mode valid"
591 default 0x00000000 if BAT3_LENGTH_128_KBYTES
592 default 0x00000004 if BAT3_LENGTH_256_KBYTES
593 default 0x0000000c if BAT3_LENGTH_512_KBYTES
594 default 0x0000001c if BAT3_LENGTH_1_MBYTES
595 default 0x0000003c if BAT3_LENGTH_2_MBYTES
596 default 0x0000007c if BAT3_LENGTH_4_MBYTES
597 default 0x000000fc if BAT3_LENGTH_8_MBYTES
598 default 0x000001fc if BAT3_LENGTH_16_MBYTES
599 default 0x000003fc if BAT3_LENGTH_32_MBYTES
600 default 0x000007fc if BAT3_LENGTH_64_MBYTES
601 default 0x00000ffc if BAT3_LENGTH_128_MBYTES
602 default 0x00001ffc if BAT3_LENGTH_256_MBYTES
604 config BAT3_PAGE_PROTECTION
606 default 0x0 if BAT3_ACCESS_NONE
607 default 0x1 if BAT3_ACCESS_RO
608 default 0x2 if BAT3_ACCESS_RW
610 config BAT3_WIMG_ICACHE
612 default 0x0 if !BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
613 default 0x8 if !BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
614 default 0x10 if !BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
615 default 0x18 if !BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
616 default 0x20 if !BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
617 default 0x28 if !BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
618 default 0x30 if !BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
619 default 0x38 if !BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
620 default 0x40 if BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
621 default 0x48 if BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
622 default 0x50 if BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
623 default 0x58 if BAT3_ICACHE_WRITETHROUGH && !BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
624 default 0x60 if BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
625 default 0x68 if BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && !BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
626 default 0x70 if BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && !BAT3_ICACHE_GUARDED
627 default 0x78 if BAT3_ICACHE_WRITETHROUGH && BAT3_ICACHE_INHIBITED && BAT3_ICACHE_MEMORYCOHERENCE && BAT3_ICACHE_GUARDED
629 config BAT3_WIMG_DCACHE
631 default 0x0 if !BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
632 default 0x8 if !BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
633 default 0x10 if !BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
634 default 0x18 if !BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
635 default 0x20 if !BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
636 default 0x28 if !BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
637 default 0x30 if !BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
638 default 0x38 if !BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
639 default 0x40 if BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
640 default 0x48 if BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
641 default 0x50 if BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
642 default 0x58 if BAT3_DCACHE_WRITETHROUGH && !BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
643 default 0x60 if BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
644 default 0x68 if BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && !BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
645 default 0x70 if BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && !BAT3_DCACHE_GUARDED
646 default 0x78 if BAT3_DCACHE_WRITETHROUGH && BAT3_DCACHE_INHIBITED && BAT3_DCACHE_MEMORYCOHERENCE && BAT3_DCACHE_GUARDED
648 config BAT3_VALID_BITS
650 default 0x0 if !BAT3_SUPERVISOR_MODE_VALID && !BAT3_USER_MODE_VALID
651 default 0x1 if !BAT3_SUPERVISOR_MODE_VALID && BAT3_USER_MODE_VALID
652 default 0x2 if BAT3_SUPERVISOR_MODE_VALID && !BAT3_USER_MODE_VALID
653 default 0x3 if BAT3_SUPERVISOR_MODE_VALID && BAT3_USER_MODE_VALID
669 prompt "Block length"
671 config BAT4_LENGTH_128_KBYTES
674 config BAT4_LENGTH_256_KBYTES
677 config BAT4_LENGTH_512_KBYTES
680 config BAT4_LENGTH_1_MBYTES
683 config BAT4_LENGTH_2_MBYTES
686 config BAT4_LENGTH_4_MBYTES
689 config BAT4_LENGTH_8_MBYTES
692 config BAT4_LENGTH_16_MBYTES
695 config BAT4_LENGTH_32_MBYTES
698 config BAT4_LENGTH_64_MBYTES
701 config BAT4_LENGTH_128_MBYTES
704 config BAT4_LENGTH_256_MBYTES
709 prompt "Protection mode"
711 config BAT4_ACCESS_NONE
714 config BAT4_ACCESS_RO
717 config BAT4_ACCESS_RW
722 config BAT4_ICACHE_WRITETHROUGH
723 bool "I-cache Write-through"
725 config BAT4_ICACHE_INHIBITED
726 bool "I-cache Inhibited"
728 config BAT4_ICACHE_MEMORYCOHERENCE
729 bool "I-cache Memory coherence"
731 config BAT4_ICACHE_GUARDED
732 bool "I-cache Guarded"
734 config BAT4_DCACHE_WRITETHROUGH
735 bool "D-cache Write-through"
737 config BAT4_DCACHE_INHIBITED
738 bool "D-cache Inhibited"
740 config BAT4_DCACHE_MEMORYCOHERENCE
741 bool "D-cache Memory coherence"
743 config BAT4_DCACHE_GUARDED
744 bool "D-cache Guarded"
746 config BAT4_USER_MODE_VALID
747 bool "User mode valid"
749 config BAT4_SUPERVISOR_MODE_VALID
750 bool "Supervisor mode valid"
756 default 0x00000000 if BAT4_LENGTH_128_KBYTES
757 default 0x00000004 if BAT4_LENGTH_256_KBYTES
758 default 0x0000000c if BAT4_LENGTH_512_KBYTES
759 default 0x0000001c if BAT4_LENGTH_1_MBYTES
760 default 0x0000003c if BAT4_LENGTH_2_MBYTES
761 default 0x0000007c if BAT4_LENGTH_4_MBYTES
762 default 0x000000fc if BAT4_LENGTH_8_MBYTES
763 default 0x000001fc if BAT4_LENGTH_16_MBYTES
764 default 0x000003fc if BAT4_LENGTH_32_MBYTES
765 default 0x000007fc if BAT4_LENGTH_64_MBYTES
766 default 0x00000ffc if BAT4_LENGTH_128_MBYTES
767 default 0x00001ffc if BAT4_LENGTH_256_MBYTES
769 config BAT4_PAGE_PROTECTION
771 default 0x0 if BAT4_ACCESS_NONE
772 default 0x1 if BAT4_ACCESS_RO
773 default 0x2 if BAT4_ACCESS_RW
775 config BAT4_WIMG_ICACHE
777 default 0x0 if !BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
778 default 0x8 if !BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
779 default 0x10 if !BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
780 default 0x18 if !BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
781 default 0x20 if !BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
782 default 0x28 if !BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
783 default 0x30 if !BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
784 default 0x38 if !BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
785 default 0x40 if BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
786 default 0x48 if BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
787 default 0x50 if BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
788 default 0x58 if BAT4_ICACHE_WRITETHROUGH && !BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
789 default 0x60 if BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
790 default 0x68 if BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && !BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
791 default 0x70 if BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && !BAT4_ICACHE_GUARDED
792 default 0x78 if BAT4_ICACHE_WRITETHROUGH && BAT4_ICACHE_INHIBITED && BAT4_ICACHE_MEMORYCOHERENCE && BAT4_ICACHE_GUARDED
794 config BAT4_WIMG_DCACHE
796 default 0x0 if !BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
797 default 0x8 if !BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
798 default 0x10 if !BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
799 default 0x18 if !BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
800 default 0x20 if !BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
801 default 0x28 if !BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
802 default 0x30 if !BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
803 default 0x38 if !BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
804 default 0x40 if BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
805 default 0x48 if BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
806 default 0x50 if BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
807 default 0x58 if BAT4_DCACHE_WRITETHROUGH && !BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
808 default 0x60 if BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
809 default 0x68 if BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && !BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
810 default 0x70 if BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && !BAT4_DCACHE_GUARDED
811 default 0x78 if BAT4_DCACHE_WRITETHROUGH && BAT4_DCACHE_INHIBITED && BAT4_DCACHE_MEMORYCOHERENCE && BAT4_DCACHE_GUARDED
813 config BAT4_VALID_BITS
815 default 0x0 if !BAT4_SUPERVISOR_MODE_VALID && !BAT4_USER_MODE_VALID
816 default 0x1 if !BAT4_SUPERVISOR_MODE_VALID && BAT4_USER_MODE_VALID
817 default 0x2 if BAT4_SUPERVISOR_MODE_VALID && !BAT4_USER_MODE_VALID
818 default 0x3 if BAT4_SUPERVISOR_MODE_VALID && BAT4_USER_MODE_VALID
832 prompt "Block length"
834 config BAT5_LENGTH_128_KBYTES
837 config BAT5_LENGTH_256_KBYTES
840 config BAT5_LENGTH_512_KBYTES
843 config BAT5_LENGTH_1_MBYTES
846 config BAT5_LENGTH_2_MBYTES
849 config BAT5_LENGTH_4_MBYTES
852 config BAT5_LENGTH_8_MBYTES
855 config BAT5_LENGTH_16_MBYTES
858 config BAT5_LENGTH_32_MBYTES
861 config BAT5_LENGTH_64_MBYTES
864 config BAT5_LENGTH_128_MBYTES
867 config BAT5_LENGTH_256_MBYTES
872 prompt "Protection mode"
874 config BAT5_ACCESS_NONE
877 config BAT5_ACCESS_RO
880 config BAT5_ACCESS_RW
885 config BAT5_ICACHE_WRITETHROUGH
886 bool "I-cache Write-through"
888 config BAT5_ICACHE_INHIBITED
889 bool "I-cache Inhibited"
891 config BAT5_ICACHE_MEMORYCOHERENCE
892 bool "I-cache Memory coherence"
894 config BAT5_ICACHE_GUARDED
895 bool "I-cache Guarded"
897 config BAT5_DCACHE_WRITETHROUGH
898 bool "D-cache Write-through"
900 config BAT5_DCACHE_INHIBITED
901 bool "D-cache Inhibited"
903 config BAT5_DCACHE_MEMORYCOHERENCE
904 bool "D-cache Memory coherence"
906 config BAT5_DCACHE_GUARDED
907 bool "D-cache Guarded"
909 config BAT5_USER_MODE_VALID
910 bool "User mode valid"
912 config BAT5_SUPERVISOR_MODE_VALID
913 bool "Supervisor mode valid"
919 default 0x00000000 if BAT5_LENGTH_128_KBYTES
920 default 0x00000004 if BAT5_LENGTH_256_KBYTES
921 default 0x0000000c if BAT5_LENGTH_512_KBYTES
922 default 0x0000001c if BAT5_LENGTH_1_MBYTES
923 default 0x0000003c if BAT5_LENGTH_2_MBYTES
924 default 0x0000007c if BAT5_LENGTH_4_MBYTES
925 default 0x000000fc if BAT5_LENGTH_8_MBYTES
926 default 0x000001fc if BAT5_LENGTH_16_MBYTES
927 default 0x000003fc if BAT5_LENGTH_32_MBYTES
928 default 0x000007fc if BAT5_LENGTH_64_MBYTES
929 default 0x00000ffc if BAT5_LENGTH_128_MBYTES
930 default 0x00001ffc if BAT5_LENGTH_256_MBYTES
932 config BAT5_PAGE_PROTECTION
934 default 0x0 if BAT5_ACCESS_NONE
935 default 0x1 if BAT5_ACCESS_RO
936 default 0x2 if BAT5_ACCESS_RW
938 config BAT5_WIMG_ICACHE
940 default 0x0 if !BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
941 default 0x8 if !BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
942 default 0x10 if !BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
943 default 0x18 if !BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
944 default 0x20 if !BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
945 default 0x28 if !BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
946 default 0x30 if !BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
947 default 0x38 if !BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
948 default 0x40 if BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
949 default 0x48 if BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
950 default 0x50 if BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
951 default 0x58 if BAT5_ICACHE_WRITETHROUGH && !BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
952 default 0x60 if BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
953 default 0x68 if BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && !BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
954 default 0x70 if BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && !BAT5_ICACHE_GUARDED
955 default 0x78 if BAT5_ICACHE_WRITETHROUGH && BAT5_ICACHE_INHIBITED && BAT5_ICACHE_MEMORYCOHERENCE && BAT5_ICACHE_GUARDED
957 config BAT5_WIMG_DCACHE
959 default 0x0 if !BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
960 default 0x8 if !BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
961 default 0x10 if !BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
962 default 0x18 if !BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
963 default 0x20 if !BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
964 default 0x28 if !BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
965 default 0x30 if !BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
966 default 0x38 if !BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
967 default 0x40 if BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
968 default 0x48 if BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
969 default 0x50 if BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
970 default 0x58 if BAT5_DCACHE_WRITETHROUGH && !BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
971 default 0x60 if BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
972 default 0x68 if BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && !BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
973 default 0x70 if BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && !BAT5_DCACHE_GUARDED
974 default 0x78 if BAT5_DCACHE_WRITETHROUGH && BAT5_DCACHE_INHIBITED && BAT5_DCACHE_MEMORYCOHERENCE && BAT5_DCACHE_GUARDED
976 config BAT5_VALID_BITS
978 default 0x0 if !BAT5_SUPERVISOR_MODE_VALID && !BAT5_USER_MODE_VALID
979 default 0x1 if !BAT5_SUPERVISOR_MODE_VALID && BAT5_USER_MODE_VALID
980 default 0x2 if BAT5_SUPERVISOR_MODE_VALID && !BAT5_USER_MODE_VALID
981 default 0x3 if BAT5_SUPERVISOR_MODE_VALID && BAT5_USER_MODE_VALID
995 prompt "Block length"
997 config BAT6_LENGTH_128_KBYTES
1000 config BAT6_LENGTH_256_KBYTES
1003 config BAT6_LENGTH_512_KBYTES
1006 config BAT6_LENGTH_1_MBYTES
1009 config BAT6_LENGTH_2_MBYTES
1012 config BAT6_LENGTH_4_MBYTES
1015 config BAT6_LENGTH_8_MBYTES
1018 config BAT6_LENGTH_16_MBYTES
1021 config BAT6_LENGTH_32_MBYTES
1024 config BAT6_LENGTH_64_MBYTES
1027 config BAT6_LENGTH_128_MBYTES
1030 config BAT6_LENGTH_256_MBYTES
1035 prompt "Protection mode"
1037 config BAT6_ACCESS_NONE
1040 config BAT6_ACCESS_RO
1043 config BAT6_ACCESS_RW
1048 config BAT6_ICACHE_WRITETHROUGH
1049 bool "I-cache Write-through"
1051 config BAT6_ICACHE_INHIBITED
1052 bool "I-cache Inhibited"
1054 config BAT6_ICACHE_MEMORYCOHERENCE
1055 bool "I-cache Memory coherence"
1057 config BAT6_ICACHE_GUARDED
1058 bool "I-cache Guarded"
1060 config BAT6_DCACHE_WRITETHROUGH
1061 bool "D-cache Write-through"
1063 config BAT6_DCACHE_INHIBITED
1064 bool "D-cache Inhibited"
1066 config BAT6_DCACHE_MEMORYCOHERENCE
1067 bool "D-cache Memory coherence"
1069 config BAT6_DCACHE_GUARDED
1070 bool "D-cache Guarded"
1072 config BAT6_USER_MODE_VALID
1073 bool "User mode valid"
1075 config BAT6_SUPERVISOR_MODE_VALID
1076 bool "Supervisor mode valid"
1082 default 0x00000000 if BAT6_LENGTH_128_KBYTES
1083 default 0x00000004 if BAT6_LENGTH_256_KBYTES
1084 default 0x0000000c if BAT6_LENGTH_512_KBYTES
1085 default 0x0000001c if BAT6_LENGTH_1_MBYTES
1086 default 0x0000003c if BAT6_LENGTH_2_MBYTES
1087 default 0x0000007c if BAT6_LENGTH_4_MBYTES
1088 default 0x000000fc if BAT6_LENGTH_8_MBYTES
1089 default 0x000001fc if BAT6_LENGTH_16_MBYTES
1090 default 0x000003fc if BAT6_LENGTH_32_MBYTES
1091 default 0x000007fc if BAT6_LENGTH_64_MBYTES
1092 default 0x00000ffc if BAT6_LENGTH_128_MBYTES
1093 default 0x00001ffc if BAT6_LENGTH_256_MBYTES
1095 config BAT6_PAGE_PROTECTION
1097 default 0x0 if BAT6_ACCESS_NONE
1098 default 0x1 if BAT6_ACCESS_RO
1099 default 0x2 if BAT6_ACCESS_RW
1101 config BAT6_WIMG_ICACHE
1103 default 0x0 if !BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1104 default 0x8 if !BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1105 default 0x10 if !BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1106 default 0x18 if !BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1107 default 0x20 if !BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1108 default 0x28 if !BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1109 default 0x30 if !BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1110 default 0x38 if !BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1111 default 0x40 if BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1112 default 0x48 if BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1113 default 0x50 if BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1114 default 0x58 if BAT6_ICACHE_WRITETHROUGH && !BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1115 default 0x60 if BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1116 default 0x68 if BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && !BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1117 default 0x70 if BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && !BAT6_ICACHE_GUARDED
1118 default 0x78 if BAT6_ICACHE_WRITETHROUGH && BAT6_ICACHE_INHIBITED && BAT6_ICACHE_MEMORYCOHERENCE && BAT6_ICACHE_GUARDED
1120 config BAT6_WIMG_DCACHE
1122 default 0x0 if !BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1123 default 0x8 if !BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1124 default 0x10 if !BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1125 default 0x18 if !BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1126 default 0x20 if !BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1127 default 0x28 if !BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1128 default 0x30 if !BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1129 default 0x38 if !BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1130 default 0x40 if BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1131 default 0x48 if BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1132 default 0x50 if BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1133 default 0x58 if BAT6_DCACHE_WRITETHROUGH && !BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1134 default 0x60 if BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1135 default 0x68 if BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && !BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1136 default 0x70 if BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && !BAT6_DCACHE_GUARDED
1137 default 0x78 if BAT6_DCACHE_WRITETHROUGH && BAT6_DCACHE_INHIBITED && BAT6_DCACHE_MEMORYCOHERENCE && BAT6_DCACHE_GUARDED
1139 config BAT6_VALID_BITS
1141 default 0x0 if !BAT6_SUPERVISOR_MODE_VALID && !BAT6_USER_MODE_VALID
1142 default 0x1 if !BAT6_SUPERVISOR_MODE_VALID && BAT6_USER_MODE_VALID
1143 default 0x2 if BAT6_SUPERVISOR_MODE_VALID && !BAT6_USER_MODE_VALID
1144 default 0x3 if BAT6_SUPERVISOR_MODE_VALID && BAT6_USER_MODE_VALID
1158 prompt "Block length"
1160 config BAT7_LENGTH_128_KBYTES
1163 config BAT7_LENGTH_256_KBYTES
1166 config BAT7_LENGTH_512_KBYTES
1169 config BAT7_LENGTH_1_MBYTES
1172 config BAT7_LENGTH_2_MBYTES
1175 config BAT7_LENGTH_4_MBYTES
1178 config BAT7_LENGTH_8_MBYTES
1181 config BAT7_LENGTH_16_MBYTES
1184 config BAT7_LENGTH_32_MBYTES
1187 config BAT7_LENGTH_64_MBYTES
1190 config BAT7_LENGTH_128_MBYTES
1193 config BAT7_LENGTH_256_MBYTES
1198 prompt "Protection mode"
1200 config BAT7_ACCESS_NONE
1203 config BAT7_ACCESS_RO
1206 config BAT7_ACCESS_RW
1211 config BAT7_ICACHE_WRITETHROUGH
1212 bool "I-cache Write-through"
1214 config BAT7_ICACHE_INHIBITED
1215 bool "I-cache Inhibited"
1217 config BAT7_ICACHE_MEMORYCOHERENCE
1218 bool "I-cache Memory coherence"
1220 config BAT7_ICACHE_GUARDED
1221 bool "I-cache Guarded"
1223 config BAT7_DCACHE_WRITETHROUGH
1224 bool "D-cache Write-through"
1226 config BAT7_DCACHE_INHIBITED
1227 bool "D-cache Inhibited"
1229 config BAT7_DCACHE_MEMORYCOHERENCE
1230 bool "D-cache Memory coherence"
1232 config BAT7_DCACHE_GUARDED
1233 bool "D-cache Guarded"
1235 config BAT7_USER_MODE_VALID
1236 bool "User mode valid"
1238 config BAT7_SUPERVISOR_MODE_VALID
1239 bool "Supervisor mode valid"
1245 default 0x00000000 if BAT7_LENGTH_128_KBYTES
1246 default 0x00000004 if BAT7_LENGTH_256_KBYTES
1247 default 0x0000000c if BAT7_LENGTH_512_KBYTES
1248 default 0x0000001c if BAT7_LENGTH_1_MBYTES
1249 default 0x0000003c if BAT7_LENGTH_2_MBYTES
1250 default 0x0000007c if BAT7_LENGTH_4_MBYTES
1251 default 0x000000fc if BAT7_LENGTH_8_MBYTES
1252 default 0x000001fc if BAT7_LENGTH_16_MBYTES
1253 default 0x000003fc if BAT7_LENGTH_32_MBYTES
1254 default 0x000007fc if BAT7_LENGTH_64_MBYTES
1255 default 0x00000ffc if BAT7_LENGTH_128_MBYTES
1256 default 0x00001ffc if BAT7_LENGTH_256_MBYTES
1258 config BAT7_PAGE_PROTECTION
1260 default 0x0 if BAT7_ACCESS_NONE
1261 default 0x1 if BAT7_ACCESS_RO
1262 default 0x2 if BAT7_ACCESS_RW
1264 config BAT7_WIMG_ICACHE
1266 default 0x0 if !BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1267 default 0x8 if !BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1268 default 0x10 if !BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1269 default 0x18 if !BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1270 default 0x20 if !BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1271 default 0x28 if !BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1272 default 0x30 if !BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1273 default 0x38 if !BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1274 default 0x40 if BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1275 default 0x48 if BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1276 default 0x50 if BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1277 default 0x58 if BAT7_ICACHE_WRITETHROUGH && !BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1278 default 0x60 if BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1279 default 0x68 if BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && !BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1280 default 0x70 if BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && !BAT7_ICACHE_GUARDED
1281 default 0x78 if BAT7_ICACHE_WRITETHROUGH && BAT7_ICACHE_INHIBITED && BAT7_ICACHE_MEMORYCOHERENCE && BAT7_ICACHE_GUARDED
1283 config BAT7_WIMG_DCACHE
1285 default 0x0 if !BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1286 default 0x8 if !BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1287 default 0x10 if !BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1288 default 0x18 if !BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1289 default 0x20 if !BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1290 default 0x28 if !BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1291 default 0x30 if !BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1292 default 0x38 if !BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1293 default 0x40 if BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1294 default 0x48 if BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1295 default 0x50 if BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1296 default 0x58 if BAT7_DCACHE_WRITETHROUGH && !BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1297 default 0x60 if BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1298 default 0x68 if BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && !BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1299 default 0x70 if BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && !BAT7_DCACHE_GUARDED
1300 default 0x78 if BAT7_DCACHE_WRITETHROUGH && BAT7_DCACHE_INHIBITED && BAT7_DCACHE_MEMORYCOHERENCE && BAT7_DCACHE_GUARDED
1302 config BAT7_VALID_BITS
1304 default 0x0 if !BAT7_SUPERVISOR_MODE_VALID && !BAT7_USER_MODE_VALID
1305 default 0x1 if !BAT7_SUPERVISOR_MODE_VALID && BAT7_USER_MODE_VALID
1306 default 0x2 if BAT7_SUPERVISOR_MODE_VALID && !BAT7_USER_MODE_VALID
1307 default 0x3 if BAT7_SUPERVISOR_MODE_VALID && BAT7_USER_MODE_VALID