Skip to content

Commit 55efddd

Browse files
hoshinolinamarcan
authored andcommitted
kboot_gpu: Do not set no-map prop on reserved-memory nodes
This is set in the device trees anyway, but a future kernel release may rely on this being *not* set. Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 8508526 commit 55efddd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/kboot_gpu.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,6 @@ static int dt_set_region(void *dt, int sgx, const char *name, const char *path)
398398
if (fdt_setprop_inplace(dt, node, "reg", reg, sizeof(reg)))
399399
bail("FDT: GPU: failed to set reg prop for %s\n", path);
400400

401-
if (fdt_setprop_empty(dt, node, "no-map"))
402-
bail("FDT: GPU: failed to set no-map prop for %s\n", path);
403-
404401
return 0;
405402
}
406403

0 commit comments

Comments
 (0)