diff options
author | Maxim Uvarov | 2021-01-28 13:00:11 +0100 |
---|---|---|
committer | Peter Maydell | 2021-01-29 11:47:28 +0100 |
commit | daa726d92604b72650d86ada01935e03a909d4dd (patch) | |
tree | c41278b7d427069f96789ed16fc319437e2f6993 /include/hw/arm | |
parent | arm-virt: refactor gpios creation (diff) | |
download | qemu-daa726d92604b72650d86ada01935e03a909d4dd.tar.gz qemu-daa726d92604b72650d86ada01935e03a909d4dd.tar.xz qemu-daa726d92604b72650d86ada01935e03a909d4dd.zip |
arm-virt: add secure pl061 for reset/power down
Add secure pl061 for reset/power down machine from
the secure world (Arm Trusted Firmware). Connect it
with gpio-pwr driver.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
[PMM: Added mention of the new device to the documentation]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r-- | include/hw/arm/virt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h index e4a2d21642..36fcb29641 100644 --- a/include/hw/arm/virt.h +++ b/include/hw/arm/virt.h @@ -81,6 +81,7 @@ enum { VIRT_GPIO, VIRT_SECURE_UART, VIRT_SECURE_MEM, + VIRT_SECURE_GPIO, VIRT_PCDIMM_ACPI, VIRT_ACPI_GED, VIRT_NVDIMM_ACPI, @@ -127,6 +128,7 @@ struct VirtMachineClass { bool kvm_no_adjvtime; bool no_kvm_steal_time; bool acpi_expose_flash; + bool no_secure_gpio; }; struct VirtMachineState { |