Skip to content

Commit d07ea82

Browse files
hoshinolinamarcan
authored andcommitted
kboot: Add firmware versions to ISP node
Might be useful... Signed-off-by: Asahi Lina <[email protected]>
1 parent 182fddd commit d07ea82

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/kboot.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,6 +1870,12 @@ static int dt_set_isp_fwdata(void)
18701870
return 0;
18711871
}
18721872

1873+
if (firmware_set_fdt(dt, fdt_node, "apple,firmware-version", &os_firmware) < 0)
1874+
bail("FDT: Could not set apple,firmware-version for %s\n", fdt_path);
1875+
1876+
if (firmware_set_fdt(dt, fdt_node, "apple,firmware-compat", &os_firmware) < 0)
1877+
bail("FDT: Could not set apple,firmware-compat for %s\n", fdt_path);
1878+
18731879
if (isp_get_heap(&phys, &iova, &size)) {
18741880
const char *status = fdt_getprop(dt, fdt_node, "status", NULL);
18751881

0 commit comments

Comments
 (0)