qemu-patch-raspberry4/hw/acpi
Paulo Alcantara 5add35bec1 ich9: implement strap SPKR pin logic
If the signal is sampled high, this indicates that the system is
strapped to the "No Reboot" mode (ICH9 will disable the TCO Timer system
reboot feature). The status of this strap is readable via the NO_REBOOT
bit (CC: offset 0x3410:bit 5).

The NO_REBOOT bit is set when SPKR pin on ICH9 is sampled high. This bit
may be set or cleared by software if the strap is sampled low but may
not override the strap when it indicates "No Reboot".

This patch implements the logic where hardware has ability to set SPKR
pin through a property named "noreboot" and it's sampled high by
default.

Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-07-08 10:09:55 +03:00
..
acpi_interface.c acpi: introduce TYPE_ACPI_DEVICE_IF interface 2014-06-19 18:44:22 +03:00
aml-build.c acpi: add implementation of aml_while() term 2015-06-03 18:19:16 +02:00
bios-linker-loader.c bios linker: validate pointer within table 2015-02-26 12:42:15 +01:00
core.c acpi: mark PMTIMER as unlocked 2015-07-01 15:45:51 +02:00
cpu_hotplug.c acpi: add acpi_send_gpe_event() to rise sci for hotplug 2015-06-03 18:19:16 +02:00
ich9.c ich9: add TCO interface emulation 2015-07-07 13:12:22 +03:00
Makefile.objs ich9: add TCO interface emulation 2015-07-07 13:12:22 +03:00
memory_hotplug.c acpi: add acpi_send_gpe_event() to rise sci for hotplug 2015-06-03 18:19:16 +02:00
pcihp.c acpi: add acpi_send_gpe_event() to rise sci for hotplug 2015-06-03 18:19:16 +02:00
piix4.c pc_piix: rename kvm_enabled to smm_enabled 2015-07-06 17:59:44 +02:00
tco.c ich9: implement strap SPKR pin logic 2015-07-08 10:09:55 +03:00