OSDN Git Service

hw/arm/vexpress: Don't set info->secure_boot if CPU doesn't have EL3
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:35 +0000 (13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:35 +0000 (13:17 +0100)
commit3921019abc87bb1ceefb71a9b829614eb98d5ba9
tree1edc5e1afa33a2fe8fd006cfab53b1072040d462
parentba3287d117066fef2ebfea9555197f94c950afc5
hw/arm/vexpress: Don't set info->secure_boot if CPU doesn't have EL3

Don't request that the arm_load_kernel() code should boot in secure
state if the CPU doesn't have a secure state. Currently this
doesn't make a difference because the boot.c code only examines
the secure_boot flag in code guarded by an ARM_FEATURE_EL3 check,
but upcoming changes for supporting booting into Hyp mode will
change that.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180821132811.17675-9-peter.maydell@linaro.org
hw/arm/vexpress.c