target-arm: Set CPU has_el3 prop during virt init
authorGreg Bellows <greg.bellows@linaro.org>
Mon, 15 Dec 2014 23:09:49 +0000 (17:09 -0600)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 22 Dec 2014 23:12:28 +0000 (23:12 +0000)
commite5a5604f8fdabfc788fbf75354b7f92eb349dcff
tree1d32f170504fd05d3de0caa87a4df980b9f8b63f
parent12d027f132246826c4358f3734d738a3385bf75f
target-arm: Set CPU has_el3 prop during virt init

Adds setting of the CPU has_el3 property based on the virt machine
secure state property during initialization.  This enables/disables EL3
state during start-up.  Changes include adding an additional secure state
boolean during virt CPU initialization.  Also disables the ARM secure boot
by default.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Message-id: 1418684992-8996-13-git-send-email-greg.bellows@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c