[PATCH v4 08/35] acpi: Add fill_madt to acpi_ops

Simon Glass sjg at chromium.org
Thu Sep 19 16:11:47 CEST 2024


On Wed, 18 Sept 2024 at 17:22, Patrick Rudolph
<patrick.rudolph at 9elements.com> wrote:
>
> Add a new method to acpi_ops to let drivers fill out ACPI MADT.
> The code is unused for now until drivers implement the new ops.
>
> TEST: Booted on QEMU sbsa using driver model generated MADT.
>
> Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> Changelog v4:
> - Drop __weak attribute and make driver model mandatory on Arm
>
> ---
>  arch/arm/lib/acpi_table.c | 13 ++++++++++++
>  drivers/core/acpi.c       | 16 +++++++++++++++
>  include/dm/acpi.h         | 26 +++++++++++++++++++++++
>  lib/acpi/acpi_table.c     |  2 +-
>  test/dm/acpi.c            | 43 +++++++++++++++++++++++++++++++++++++++
>  5 files changed, 99 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list