Matt Papageorge | a21eae0 | 2019-11-13 17:00:12 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
Elyes Haouas | f743e0c | 2022-10-31 13:46:00 +0100 | [diff] [blame] | 3 | #include <acpi/acpi.h> |
Felix Held | 245adca | 2021-05-04 20:01:46 +0200 | [diff] [blame] | 4 | #include <amdblocks/acpi.h> |
Elyes Haouas | f743e0c | 2022-10-31 13:46:00 +0100 | [diff] [blame] | 5 | #include <FspGuids.h> |
Felix Held | 39feb7f | 2024-01-26 15:11:48 +0100 | [diff] [blame] | 6 | #include <types.h> |
Jason Glenesk | 276e865 | 2020-12-10 04:22:56 -0800 | [diff] [blame] | 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) |
Matt Papageorge | a21eae0 | 2019-11-13 17:00:12 -0600 | [diff] [blame] | 9 | { |
Felix Held | afc4978 | 2021-05-04 21:17:50 +0200 | [diff] [blame] | 10 | /* add ALIB SSDT from HOB */ |
Felix Held | 8f1e004 | 2023-01-17 00:39:06 +0100 | [diff] [blame] | 11 | current = acpi_align_current(current); |
Felix Held | 245adca | 2021-05-04 20:01:46 +0200 | [diff] [blame] | 12 | current = add_agesa_fsp_acpi_table(AMD_FSP_ACPI_ALIB_HOB_GUID, "ALIB", rsdp, current); |
Jason Glenesk | 1916f89 | 2020-07-24 02:51:30 -0700 | [diff] [blame] | 13 | |
Matt Papageorge | a21eae0 | 2019-11-13 17:00:12 -0600 | [diff] [blame] | 14 | return current; |
| 15 | } |