From 8f1e00410778c322f9057c0d44756dfbdce4ba8d Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 17 Jan 2023 00:39:06 +0100 Subject: soc/amd/picasso/agesa_acpi: align ALIB with acpi_align_current This makes sure that the ALIB table is aligned on a 16 byte boundary. TEST=Mandolin still boots Linux and the position and size of the ACPI tables in memory shown by dmesg hasn't changed. Signed-off-by: Felix Held Change-Id: I90781ef98b729c0a8d1f5dde46fc9ca5d08618b3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72022 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger --- src/soc/amd/picasso/agesa_acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c index d798f104c9..7482a03991 100644 --- a/src/soc/amd/picasso/agesa_acpi.c +++ b/src/soc/amd/picasso/agesa_acpi.c @@ -553,6 +553,7 @@ uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current acpi_add_table(rsdp, crat); /* add ALIB SSDT from HOB */ + current = acpi_align_current(current); current = add_agesa_fsp_acpi_table(AMD_FSP_ACPI_ALIB_HOB_GUID, "ALIB", rsdp, current); /* IVRS */ -- cgit v1.2.3