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 <felix-coreboot@felixheld.de>
Change-Id: I90781ef98b729c0a8d1f5dde46fc9ca5d08618b3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72022
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
This commit is contained in:
Felix Held 2023-01-17 00:39:06 +01:00
parent f03706a2ba
commit 8f1e004107
1 changed files with 1 additions and 0 deletions

View File

@ -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 */