MCPcopy Create free account
hub / github.com/coreboot/coreboot / dump_frba

Function dump_frba

util/ifdtool/ifdtool.c:463–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static 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
479static void dump_flashrom_layout(char *image, int size, const char *layout_fname)
480{

Callers 1

dump_fdFunction · 0.85

Calls 5

printfFunction · 0.85
get_regionFunction · 0.85
dump_regionFunction · 0.85
region_nameFunction · 0.70
strcmpFunction · 0.50

Tested by

no test coverage detected