diff options
author | Andreas Färber <afaerber@suse.de> | 2013-10-15 18:33:37 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-10-25 23:25:48 +0200 |
commit | 3bbf37f2692652cc9d48030a9e7f34e2207429f6 (patch) | |
tree | 59793749c8fd83e332fcfc4b5d536eaf25508e72 /hw/openrisc | |
parent | 793826cd460828975591f289de78672af4a47ef9 (diff) | |
download | hqemu-3bbf37f2692652cc9d48030a9e7f34e2207429f6.zip hqemu-3bbf37f2692652cc9d48030a9e7f34e2207429f6.tar.gz |
spapr: Use DeviceClass::fw_name for device tree CPU node
Instead of relying on cpu_model, obtain the device tree node label
per CPU. Use DeviceClass::fw_name as source.
Whenever DeviceClass::fw_name is unknown, default to "PowerPC,UNKNOWN".
As a consequence, spapr_fixup_cpu_dt() can operate on each CPU's fw_name,
obsoleting sPAPREnvironment::cpu_model, and spapr_create_fdt_skel() can
drop its cpu_model argument.
Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/openrisc')
0 files changed, 0 insertions, 0 deletions