hw/arm/virt-acpi-build.c: Migrate SPCR creation to common location
authorSia Jee Heng <jeeheng.sia@starfivetech.com>
Mon, 29 Jan 2024 02:14:39 +0000 (18:14 -0800)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 8 Mar 2024 05:38:46 +0000 (15:38 +1000)
commit7dd0b070fa09311a0330d0309c8cd9afeb081e79
treead784109590b15d303374e34a752721d9b5b0469
parent3011c1dd9c807cf41997d13c9244ea4e92237575
hw/arm/virt-acpi-build.c: Migrate SPCR creation to common location

RISC-V should also generate the SPCR in a manner similar to ARM.
Therefore, instead of replicating the code, relocate this function
to the common AML build.

Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240129021440.17640-2-jeeheng.sia@starfivetech.com>
[ Changes by AF:
 - Add missing Language SPCR entry
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/acpi/aml-build.c
hw/arm/virt-acpi-build.c
include/hw/acpi/acpi-defs.h
include/hw/acpi/aml-build.h