[PATCH 1/6] acpi: do not write ACPI tables on TARGET_QEMU_VIRT
Tom Rini
trini at konsulko.com
Thu Nov 16 19:33:45 CET 2023
On Wed, Nov 15, 2023 at 03:23:50PM +0100, Heinrich Schuchardt wrote:
> RISC-V QEMU provides the ACPI tables. We do not need to generate them
> ourselves.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> lib/acpi/Makefile | 2 +-
> lib/acpi/acpi_writer.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/acpi/Makefile b/lib/acpi/Makefile
> index c1c9675b5d..19fa6ac869 100644
> --- a/lib/acpi/Makefile
> +++ b/lib/acpi/Makefile
> @@ -12,7 +12,7 @@ obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o
> obj-y += acpi_writer.o
>
> # With QEMU the ACPI tables come from there, not from U-Boot
> -ifndef CONFIG_QEMU
> +ifeq ($(CONFIG_QEMU)$(CONFIG_TARGET_QEMU_VIRT),)
The goal here is to say that we have been passed ACPI tables, and not to
generate them, yes? Lets just introduce a symbol which says that and
enable it as needed in both QEMU targets and others as needed please.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231116/32c004fc/attachment.sig>
More information about the U-Boot
mailing list