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

Function cbfs_add_flat_binary

util/cbfstool/cbfstool.c:1394–1411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1392}
1393
1394static int cbfs_add_flat_binary(void)
1395{
1396 if (param.loadaddress == 0) {
1397 ERROR("You need to specify a valid "
1398 "-l/--load-address.\n");
1399 return 1;
1400 }
1401 if (param.entrypoint == 0) {
1402 ERROR("You need to specify a valid "
1403 "-e/--entry-point.\n");
1404 return 1;
1405 }
1406 param.type = CBFS_TYPE_SELF;
1407 return cbfs_add_component(param.filename,
1408 param.name,
1409 param.headeroffset,
1410 cbfstool_convert_mkflatpayload);
1411}
1412
1413static int cbfs_add_integer(void)
1414{

Callers

nothing calls this directly

Calls 1

cbfs_add_componentFunction · 0.85

Tested by

no test coverage detected