mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-16 13:48:29 +00:00
kboot: Add firmware versions to ISP node
Might be useful... Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
182fddd31e
commit
d07ea82821
1 changed files with 6 additions and 0 deletions
|
@ -1870,6 +1870,12 @@ static int dt_set_isp_fwdata(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (firmware_set_fdt(dt, fdt_node, "apple,firmware-version", &os_firmware) < 0)
|
||||
bail("FDT: Could not set apple,firmware-version for %s\n", fdt_path);
|
||||
|
||||
if (firmware_set_fdt(dt, fdt_node, "apple,firmware-compat", &os_firmware) < 0)
|
||||
bail("FDT: Could not set apple,firmware-compat for %s\n", fdt_path);
|
||||
|
||||
if (isp_get_heap(&phys, &iova, &size)) {
|
||||
const char *status = fdt_getprop(dt, fdt_node, "status", NULL);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue