u-boot/lib/acpi
Patrick Rudolph 5dc22f767c acpi_table: Support platforms with unusable RSDT
Since ACPI 2.0 the RSDT is deprecated and the XSDT should be preferred.
Until now the RSDT and XSDT entries were keept in sync as all platforms
that installed ACPI tables placed them below 4GiB and thus the address
would fit into the 32bit RSDT.

On platforms that do not have usable DRAM below 4GiB, like QEMU sbsa,
the RSDT cannot be used. Allow both RSDT and XSDT to be null and only
fill those tables that are present in acpi_add_table().

TEST: Fixes a crash on QEMU sbsa and allows to boot on QEMU sbsa.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
2024-10-27 17:24:13 -06:00
..
acpi.c acpi: support 64bit in acpi_find_table for DSDT and FACS 2024-01-07 13:49:08 -07:00
acpi_device.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
acpi_dp.c include: export uuid.h 2024-09-12 17:35:37 +02:00
acpi_table.c acpi_table: Support platforms with unusable RSDT 2024-10-27 17:24:13 -06:00
acpi_writer.c acpi: Kconfig symbol CONFIG_QFW_ACPI 2024-01-07 13:49:15 -07:00
acpigen.c include: export uuid.h 2024-09-12 17:35:37 +02:00
base.c acpi: Write pointers to tables instead of addresses 2024-01-07 13:45:07 -07:00
csrt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
dsdt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
facs.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
Makefile acpi: Kconfig symbol CONFIG_QFW_ACPI 2024-01-07 13:49:15 -07:00
mcfg.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
ssdt.c acpi: set creator_revision in acpi_fill_header 2024-07-03 07:36:32 +01:00