Martin Roth | 1a3de8e | 2022-10-06 15:57:21 -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> |
Elyes Haouas | 898176a | 2022-10-14 10:01:05 +0200 | [diff] [blame] | 7 | #include <commonlib/bsd/helpers.h> |
Martin Roth | 1a3de8e | 2022-10-06 15:57:21 -0600 | [diff] [blame] | 8 | #include <FspGuids.h> |
Martin Roth | 1a3de8e | 2022-10-06 15:57:21 -0600 | [diff] [blame] | 9 | #include <types.h> |
| 10 | |
Felix Held | 26577d2 | 2024-01-26 15:05:40 +0100 | [diff] [blame^] | 11 | unsigned long acpi_add_fsp_tables(unsigned long current, acpi_rsdp_t *rsdp) |
Martin Roth | 1a3de8e | 2022-10-06 15:57:21 -0600 | [diff] [blame] | 12 | { |
Martin Roth | 1a3de8e | 2022-10-06 15:57:21 -0600 | [diff] [blame] | 13 | /* add ALIB SSDT from HOB */ |
Felix Held | 192945e | 2023-01-17 02:50:06 +0100 | [diff] [blame] | 14 | current = acpi_align_current(current); |
Martin Roth | 1a3de8e | 2022-10-06 15:57:21 -0600 | [diff] [blame] | 15 | current = add_agesa_fsp_acpi_table(AMD_FSP_ACPI_ALIB_HOB_GUID, "ALIB", rsdp, current); |
| 16 | |
Martin Roth | 1a3de8e | 2022-10-06 15:57:21 -0600 | [diff] [blame] | 17 | return current; |
| 18 | } |