On 13/2/23 18:30, Bernhard Beschow wrote:
Make TYPE_ICH9_LPC_DEVICE more self-contained by moving the call to
ich9_lpc_pm_init() from board code to its realize function. In order
to propagate x86_machine_is_smm_enabled(), introduce an "smm-enabled"
property like we have in piix4.

Signed-off-by: Bernhard Beschow <shen...@gmail.com>
---
  include/hw/acpi/ich9.h | 6 ++----
  include/hw/i386/ich9.h | 2 --
  hw/acpi/ich9.c         | 8 ++------
  hw/i386/pc_q35.c       | 5 ++---
  hw/isa/lpc_ich9.c      | 8 +++++---
  5 files changed, 11 insertions(+), 18 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to