| 2319 | } |
| 2320 | |
| 2321 | void |
| 2322 | decode_win_xor_dump(u_long base) |
| 2323 | { |
| 2324 | int i, j; |
| 2325 | int e = 1; |
| 2326 | |
| 2327 | if (pm_is_disabled(CPU_PM_CTRL_XOR)) |
| 2328 | return; |
| 2329 | |
| 2330 | for (j = 0; j < xor_max_eng(); j++, e--) { |
| 2331 | for (i = 0; i < MV_WIN_XOR_MAX; i++) { |
| 2332 | printf("XOR window#%d: b 0x%08x, s 0x%08x", i, |
| 2333 | win_xor_br_read(base, i, e), win_xor_sz_read(base, i, e)); |
| 2334 | |
| 2335 | if (win_xor_can_remap(i)) |
| 2336 | printf(", ha 0x%08x", win_xor_har_read(base, i, e)); |
| 2337 | |
| 2338 | printf("\n"); |
| 2339 | } |
| 2340 | for (i = 0; i < MV_XOR_CHAN_MAX; i++) |
| 2341 | printf("XOR control#%d: 0x%08x\n", i, |
| 2342 | win_xor_ctrl_read(base, i, e)); |
| 2343 | } |
| 2344 | } |
| 2345 | |
| 2346 | #else |
| 2347 | /* Provide dummy functions to satisfy the build for SoCs not equipped with XOR */ |
nothing calls this directly
no test coverage detected