Home
last modified time | relevance | path

Searched refs:cpu_offs (Results 1 – 1 of 1) sorted by relevance

/trusted-firmware-a-3.4.0/common/
Dfdt_fixup.c248 int cpu_offs; in fdt_add_cpu() local
258 cpu_offs = fdt_add_subnode(dtb, parent, snode_name); in fdt_add_cpu()
259 if (cpu_offs < 0) { in fdt_add_cpu()
261 snode_name, cpu_offs); in fdt_add_cpu()
262 return cpu_offs; in fdt_add_cpu()
265 err = fdt_setprop_string(dtb, cpu_offs, "compatible", "arm,armv8"); in fdt_add_cpu()
268 "compatible", cpu_offs); in fdt_add_cpu()
272 err = fdt_setprop_u64(dtb, cpu_offs, "reg", reg_prop); in fdt_add_cpu()
275 "reg", cpu_offs); in fdt_add_cpu()
279 err = fdt_setprop_string(dtb, cpu_offs, "device_type", "cpu"); in fdt_add_cpu()
[all …]