On Wed, 11 Sept 2024 at 00:25, Patrick Rudolph <[email protected]> wrote: > > Write MADT in common code and let the SoC fill out the body by > calling acpi_fill_madt() which must be implemented at SoC level. > > Signed-off-by: Patrick Rudolph <[email protected]> > Cc: Simon Glass <[email protected]> > Cc: Bin Meng <[email protected]> > --- > Changelog v3: > - Pass ACPI context to acpi_fill_madt > > --- > arch/sandbox/lib/Makefile | 9 +++--- > arch/sandbox/lib/acpi_table.c | 7 +++++ > arch/x86/cpu/intel_common/acpi.c | 21 +++++++++----- > arch/x86/cpu/tangier/acpi.c | 7 ++++- > arch/x86/include/asm/acpi_table.h | 3 +- > arch/x86/lib/acpi_table.c | 47 ++++++------------------------- > include/acpi/acpi_table.h | 11 ++++++++ > lib/acpi/acpi_table.c | 31 ++++++++++++++++++++ > 8 files changed, 84 insertions(+), 52 deletions(-) > create mode 100644 arch/sandbox/lib/acpi_table.c
Reviewed-by: Simon Glass <[email protected]>

