]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Add fill_madt to acpi_ops
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Wed, 23 Oct 2024 13:19:51 +0000 (15:19 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 27 Oct 2024 23:24:13 +0000 (17:24 -0600)
commit763bad3e1cf202147fbddb74c9876d7426ddb26b
tree3bfd2d097a5add57aa7359f4d2a1e5677c9481bb
parentf36e29e8da2f1b4a776b157e5f6c8368546da803
acpi: Add fill_madt to acpi_ops

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@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Simon Glass <sjg@chromium.org>
arch/arm/lib/acpi_table.c
drivers/core/acpi.c
include/dm/acpi.h
lib/acpi/acpi_table.c
test/dm/acpi.c