Felix Held | 144c7aa | 2021-05-04 21:06:04 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <acpi/acpi.h> |
| 4 | #include <amdblocks/acpi.h> |
Felix Held | 8143d03 | 2021-05-04 21:20:06 +0200 | [diff] [blame] | 5 | #include <FspGuids.h> |
Felix Held | 144c7aa | 2021-05-04 21:06:04 +0200 | [diff] [blame] | 6 | #include <types.h> |
| 7 | |
Felix Held | 26577d2 | 2024-01-26 15:05:40 +0100 | [diff] [blame^] | 8 | unsigned long acpi_add_fsp_tables(unsigned long current, acpi_rsdp_t *rsdp) |
Felix Held | 144c7aa | 2021-05-04 21:06:04 +0200 | [diff] [blame] | 9 | { |
Felix Held | 8143d03 | 2021-05-04 21:20:06 +0200 | [diff] [blame] | 10 | /* add ALIB SSDT from HOB */ |
Felix Held | 68143e8 | 2023-01-17 02:45:06 +0100 | [diff] [blame] | 11 | current = acpi_align_current(current); |
Felix Held | 8143d03 | 2021-05-04 21:20:06 +0200 | [diff] [blame] | 12 | current = add_agesa_fsp_acpi_table(AMD_FSP_ACPI_ALIB_HOB_GUID, "ALIB", rsdp, current); |
| 13 | |
Felix Held | 144c7aa | 2021-05-04 21:06:04 +0200 | [diff] [blame] | 14 | return current; |
| 15 | } |