hw/mips/cps: create CPC block inside CPS
authorLeon Alrae <leon.alrae@imgtec.com>
Tue, 15 Mar 2016 09:59:31 +0000 (09:59 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Wed, 30 Mar 2016 08:13:59 +0000 (09:13 +0100)
commit2edd5261fffcc8494936d353ffffe996d191da3b
tree7ebf59fda5c336be17eb6b056b99235d57520c94
parent1f93a6e4f3f4da3c2ce4be1d300dcfe3e6dd0e77
hw/mips/cps: create CPC block inside CPS

Create Cluster Power Controller and add a link to the CPC MemoryRegion
in GCR. Guest can enable / map CPC to any physical address by writing to
the memory-mapped GCR_CPC_BASE register.

Set vp-start-reset property to 1 to allow only first VP to run from reset.
Others are brought up by the guest via CPC memory-mapped registers.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
hw/mips/cps.c
hw/misc/mips_cmgcr.c
include/hw/mips/cps.h
include/hw/misc/mips_cmgcr.h