mb/google/brya: Create rull variant
[coreboot2.git] / src / vendorcode / amd / opensil / genoa_poc / acpi.c
blobf539798d69aa61a55c954e78aa9b24fd004d2d7a
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <Sil-api.h>
5 #include <SilCommon.h>
6 #include <xSIM-api.h>
7 #include <FCH/Common/FchCommonCfg.h>
8 #include "../opensil.h"
10 void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt)
12 FCHHWACPI_INPUT_BLK *blk = SilFindStructure(SilId_FchHwAcpiP, 0);
14 fadt->pm1a_evt_blk = blk->AcpiPm1EvtBlkAddr;
15 fadt->pm1a_cnt_blk = blk->AcpiPm1CntBlkAddr;
16 fadt->pm_tmr_blk = blk->AcpiPmTmrBlkAddr;
17 fadt->gpe0_blk = blk->AcpiGpe0BlkAddr;