Martin Roth | f95a11e | 2022-10-21 16:43:08 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | /* TODO: Make common? */ |
| 4 | |
| 5 | #include <acpi/acpi.h> |
| 6 | #include <amdblocks/acpi.h> |
Martin Roth | f95a11e | 2022-10-21 16:43:08 -0600 | [diff] [blame] | 7 | #include <FspGuids.h> |
Martin Roth | f95a11e | 2022-10-21 16:43:08 -0600 | [diff] [blame] | 8 | #include <types.h> |
| 9 | |
Felix Held | 26577d2 | 2024-01-26 15:05:40 +0100 | [diff] [blame^] | 10 | unsigned long acpi_add_fsp_tables(unsigned long current, acpi_rsdp_t *rsdp) |
Martin Roth | f95a11e | 2022-10-21 16:43:08 -0600 | [diff] [blame] | 11 | { |
Martin Roth | f95a11e | 2022-10-21 16:43:08 -0600 | [diff] [blame] | 12 | /* add ALIB SSDT from HOB */ |
Felix Held | 4235fb6 | 2023-01-17 02:51:11 +0100 | [diff] [blame] | 13 | current = acpi_align_current(current); |
Martin Roth | f95a11e | 2022-10-21 16:43:08 -0600 | [diff] [blame] | 14 | current = add_agesa_fsp_acpi_table(AMD_FSP_ACPI_ALIB_HOB_GUID, "ALIB", rsdp, current); |
| 15 | |
Martin Roth | f95a11e | 2022-10-21 16:43:08 -0600 | [diff] [blame] | 16 | return current; |
| 17 | } |