Searched refs:chosen_offset (Results 1 - 1 of 1) sorted by relevance

/u-boot/arch/riscv/lib/
H A Dfdt_fixup.c140 int chosen_offset; local
148 chosen_offset = fdt_path_offset(blob, "/chosen");
149 if (chosen_offset < 0) {
150 chosen_offset = fdt_add_subnode(blob, 0, "chosen");
151 if (chosen_offset < 0) {
153 return chosen_offset;
157 err = fdt_setprop_u32(blob, chosen_offset, "boot-hartid",

Completed in 36 milliseconds