mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00

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@9elements.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com>
11 lines
209 B
C
11 lines
209 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
#include <acpi/acpi_table.h>
|
|
|
|
void acpi_fill_fadt(struct acpi_fadt *fadt)
|
|
{
|
|
}
|
|
|
|
void *acpi_fill_madt(struct acpi_madt *madt, struct acpi_ctx *ctx)
|
|
{
|
|
return ctx->current;
|
|
}
|