[PATCH v3 03/30] acpi: x86: Move MADT to common code

Simon Glass sjg at chromium.org
Thu Sep 12 02:58:17 CEST 2024


On Wed, 11 Sept 2024 at 00:25, Patrick Rudolph
<patrick.rudolph at 9elements.com> 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 <patrick.rudolph at 9elements.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> ---
> 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 <sjg at chromium.org>


More information about the U-Boot mailing list