summaryrefslogtreecommitdiff
path: root/src/soc/amd/phoenix/agesa_acpi.c
blob: 67a112e3505f8664666b2d8ee1a99d958f292050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

/* TODO: Make common? */

#include <acpi/acpi.h>
#include <amdblocks/acpi.h>
#include <commonlib/bsd/helpers.h>
#include <FspGuids.h>
#include <types.h>

unsigned long acpi_add_fsp_tables(unsigned long current, acpi_rsdp_t *rsdp)
{
	/* 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);

	return current;
}