]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
spapr: Rework spapr_fixup_cpu_dt()
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 23 May 2014 02:26:55 +0000 (12:26 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:37 +0000 (13:24 +0200)
commit82677ed2f5d700d2344689bea30d75887f9a8cf4
tree7189ab7215e34436669fe027e28d3f9d9e89fb96
parent2a6593cb6a2d72c8c29e14f89413089fa5d38501
spapr: Rework spapr_fixup_cpu_dt()

In PPC code we usually use the "cs" name for a CPUState* variables
and "cpu" for PowerPCCPU. So let's change spapr_fixup_cpu_dt() to
use same rules as spapr_create_fdt_skel() does.

This adds missing nodes creation if they do not already exist in
the current device tree, this is going to be used from
the client-architecture-support handler.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c