Searched refs:chosen_offset (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/board/emulation/qemu-riscv/ |
H A D | qemu-riscv.c | 66 int chosen_offset, ret; in ft_board_setup() local 68 chosen_offset = fdt_path_offset(blob, "/chosen"); in ft_board_setup() 69 if (chosen_offset < 0) in ft_board_setup() 73 ret = fdt_setprop_u64(blob, chosen_offset, "riscv,kernel-start", 0); in ft_board_setup() 75 ret = fdt_setprop_u32(blob, chosen_offset, "riscv,kernel-start", 0); in ft_board_setup() 81 ret = fdt_setprop_u64(blob, chosen_offset, "riscv,kernel-end", 0); in ft_board_setup() 83 ret = fdt_setprop_u32(blob, chosen_offset, "riscv,kernel-end", 0); in ft_board_setup()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | plpks.c | 639 int chosen_offset = fdt_path_offset(fdt, "/chosen"); in plpks_populate_fdt() local 641 if (chosen_offset < 0) { in plpks_populate_fdt() 643 fdt_strerror(chosen_offset)); in plpks_populate_fdt() 644 return chosen_offset; in plpks_populate_fdt() 647 return fdt_setprop(fdt, chosen_offset, "ibm,plpks-pw", ospassword, ospasswordlength); in plpks_populate_fdt()
|