diff options
-rw-r--r-- | lib/utils/fdt/fdt_helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/utils/fdt/fdt_helper.c b/lib/utils/fdt/fdt_helper.c index a0e93b9..9a945af 100644 --- a/lib/utils/fdt/fdt_helper.c +++ b/lib/utils/fdt/fdt_helper.c @@ -720,7 +720,9 @@ aplic_msi_parent_done: deleg->child_index = 0; } - del = fdt_getprop(fdt, nodeoff, "riscv,delegate", &len); + del = fdt_getprop(fdt, nodeoff, "riscv,delegation", &len); + if (!del) + del = fdt_getprop(fdt, nodeoff, "riscv,delegate", &len); if (!del || len < (3 * sizeof(fdt32_t))) goto skip_delegate_parse; d = 0; |