mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-14 03:17:05 +00:00
kboot: Fix /chosen invalidation caused by DCP changes
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
06826b63f7
commit
2824478dfe
1 changed files with 3 additions and 0 deletions
|
@ -421,6 +421,9 @@ static int dt_set_chosen(void)
|
||||||
if (rnode >= 0) {
|
if (rnode >= 0) {
|
||||||
dt_dart_reserve_vram();
|
dt_dart_reserve_vram();
|
||||||
dt_carveout_reserved_regions(disp_reserved_regions, ARRAY_SIZE(disp_reserved_regions));
|
dt_carveout_reserved_regions(disp_reserved_regions, ARRAY_SIZE(disp_reserved_regions));
|
||||||
|
|
||||||
|
// Previous calls might invalidate /chosen, get it again
|
||||||
|
node = fdt_path_offset(dt, "/chosen");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue