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

Function parse_override_devicetree

util/sconfig/main.c:1888–1898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1886}
1887
1888static void parse_override_devicetree(const char *file, struct device *dev)
1889{
1890 parse_devicetree(file, dev->bus);
1891
1892 if (!dev_has_children(dev)) {
1893 fprintf(stderr, "ERROR: Override tree needs at least one device!\n");
1894 exit(1);
1895 }
1896
1897 override_devicetree(&base_root_bus, dev->bus);
1898}
1899
1900static void generate_outputh(FILE *f, const char *fw_conf_header, const char *device_header)
1901{

Callers 1

mainFunction · 0.85

Calls 5

fprintfFunction · 0.85
exitFunction · 0.85
override_devicetreeFunction · 0.85
parse_devicetreeFunction · 0.70
dev_has_childrenFunction · 0.70

Tested by

no test coverage detected