Searched refs:chosen_off (Results 1 – 1 of 1) sorted by relevance
22 int err, chosen_off; in yamon_dt_append_cmdline() local25 chosen_off = fdt_path_offset(fdt, "/chosen"); in yamon_dt_append_cmdline()26 if (chosen_off == -FDT_ERR_NOTFOUND) in yamon_dt_append_cmdline()27 chosen_off = fdt_add_subnode(fdt, 0, "chosen"); in yamon_dt_append_cmdline()28 if (chosen_off < 0) { in yamon_dt_append_cmdline()30 chosen_off); in yamon_dt_append_cmdline()31 return chosen_off; in yamon_dt_append_cmdline()34 err = fdt_setprop_string(fdt, chosen_off, "bootargs", fw_getcmdline()); in yamon_dt_append_cmdline()163 int chosen_off, err; in yamon_dt_serial_config() local216 chosen_off = fdt_path_offset(fdt, "/chosen"); in yamon_dt_serial_config()[all …]