diff options
| author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2021-01-28 12:00:11 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2021-01-29 10:47:28 +0000 |
| commit | daa726d92604b72650d86ada01935e03a909d4dd (patch) | |
| tree | c41278b7d427069f96789ed16fc319437e2f6993 /include/hw/arm/virt.h | |
| parent | e61bde40dd7f96b383cf582cc8a14ce1d8609fce (diff) | |
| download | focaccia-qemu-daa726d92604b72650d86ada01935e03a909d4dd.tar.gz focaccia-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/virt.h')
| -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 { |