| 461 | } |
| 462 | |
| 463 | static void dump_frba(const struct frba *frba) |
| 464 | { |
| 465 | unsigned int i; |
| 466 | struct region region; |
| 467 | printf("Found Region Section\n"); |
| 468 | for (i = 0; i < max_regions; i++) { |
| 469 | region = get_region(frba, i); |
| 470 | /* Skip unused & reserved Flash Region */ |
| 471 | if (region.size < 1 && !strcmp(region_name(i), "Reserved")) |
| 472 | continue; |
| 473 | |
| 474 | printf("FLREG%u: 0x%08x\n", i, frba->flreg[i]); |
| 475 | dump_region(i, frba); |
| 476 | } |
| 477 | } |
| 478 | |
| 479 | static void dump_flashrom_layout(char *image, int size, const char *layout_fname) |
| 480 | { |
no test coverage detected