mb/siemens/mc_ehl{2...5}: Fix return in variant_mainboard_final()
[coreboot2.git] / src / vendorcode / amd / opensil / opensil.h
blob91231251c46e4ebccc21672d37eb0c4821987143
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _OPENSIL_H_
4 #define _OPENSIL_H_
6 #include <acpi/acpi.h>
7 #include <device/device.h>
9 void SIL_STATUS_report(const char *function, const int status);
10 // Add the memory map to dev, starting at index idx, returns last use idx
11 void add_opensil_memmap(struct device *dev, unsigned long *idx);
12 // Fill in FADT from openSIL
13 void opensil_fill_fadt_io_ports(acpi_fadt_t *fadt);
15 void setup_opensil(void);
16 void opensil_xSIM_timepoint_1(void);
17 void opensil_xSIM_timepoint_2(void);
18 void opensil_xSIM_timepoint_3(void);
20 void opensil_mpio_global_config(void);
21 void opensil_mpio_per_device_config(struct device *dev);
23 #endif