summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-01-17 00:39:06 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-18 14:04:17 +0000
commit8f1e00410778c322f9057c0d44756dfbdce4ba8d (patch)
tree8135b6164c2301e6764411d6c71314cc5f5e6dc3
parentf03706a2ba16c9d1c236c2380a41b91a4f417cf3 (diff)
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>
-rw-r--r--src/soc/amd/picasso/agesa_acpi.c1
1 files changed, 1 insertions, 0 deletions
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 */