hw/arm/virt: Enable TZ extensions on the GIC if we are using them
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Sep 2015 16:38:44 +0000 (17:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Sep 2015 16:38:44 +0000 (17:38 +0100)
commit0e21f183ca2d000bbda1fb63959a3d41a1c3ff42
treedb85f1106e5229ad223f73a506af5f5b3e78ae50
parent2d710006a0da4a9b7ddf5c02d072e178906d0ef6
hw/arm/virt: Enable TZ extensions on the GIC if we are using them

If we're creating a board with support for TrustZone, then enable
it on the GIC model as well as on the CPUs.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1441383782-24378-7-git-send-email-peter.maydell@linaro.org
hw/arm/virt.c