Searched refs:chosen_node (Results 1 – 2 of 2) sorted by relevance
| /drivers/of/ |
| A D | kexec.c | 235 int chosen_node) in setup_ima_buffer() argument 242 ret = fdt_appendprop_addrrange(fdt, 0, chosen_node, in setup_ima_buffer() 261 int chosen_node) in setup_ima_buffer() argument 322 int ret, chosen_node, len; in of_kexec_alloc_and_setup_fdt() local 348 chosen_node = fdt_path_offset(fdt, "/chosen"); in of_kexec_alloc_and_setup_fdt() 349 if (chosen_node == -FDT_ERR_NOTFOUND) in of_kexec_alloc_and_setup_fdt() 352 if (chosen_node < 0) { in of_kexec_alloc_and_setup_fdt() 353 ret = chosen_node; in of_kexec_alloc_and_setup_fdt() 455 ret = kho_add_chosen(image, fdt, chosen_node); in of_kexec_alloc_and_setup_fdt() 465 ret = fdt_delprop(fdt, chosen_node, "bootargs"); in of_kexec_alloc_and_setup_fdt() [all …]
|
| /drivers/firmware/efi/libstub/ |
| A D | riscv.c | 21 int chosen_node, len; in get_boot_hartid_from_fdt() local 28 chosen_node = fdt_path_offset(fdt, "/chosen"); in get_boot_hartid_from_fdt() 29 if (chosen_node < 0) in get_boot_hartid_from_fdt() 32 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); in get_boot_hartid_from_fdt()
|
Completed in 7 milliseconds