blob: 7f577273a1cae94ddd70540a21dc85c700498300 [file] [log] [blame]
Lee Leahy77ff0b12015-05-05 15:07:29 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 Google, Inc.
Lee Leahy32471722015-04-20 15:20:28 -07005 * Copyright (C) 2015 Intel Corp.
Lee Leahy77ff0b12015-05-05 15:07:29 -07006 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
Lee Leahy45980bd2015-07-07 15:21:21 -070012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Lee Leahy77ff0b12015-05-05 15:07:29 -070013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Lee Leahy77ff0b12015-05-05 15:07:29 -070015 */
16
Lee Leahy32471722015-04-20 15:20:28 -070017#ifndef _SOC_ACPI_H_
18#define _SOC_ACPI_H_
Lee Leahy77ff0b12015-05-05 15:07:29 -070019
20#include <arch/acpi.h>
21#include <soc/nvs.h>
22
Lee Leahy2bc9cee2015-06-30 15:25:44 -070023void acpi_create_serialio_ssdt(acpi_header_t *ssdt);
Lee Leahy77ff0b12015-05-05 15:07:29 -070024void acpi_fill_in_fadt(acpi_fadt_t *fadt);
25unsigned long acpi_madt_irq_overrides(unsigned long current);
26void acpi_init_gnvs(global_nvs_t *gnvs);
Lee Leahy2bc9cee2015-06-30 15:25:44 -070027void southcluster_inject_dsdt(device_t device);
28unsigned long southcluster_write_acpi_tables(device_t device,
29 unsigned long current, struct acpi_rsdp *rsdp);
Lee Leahy77ff0b12015-05-05 15:07:29 -070030
Lee Leahy32471722015-04-20 15:20:28 -070031#endif /* _SOC_ACPI_H_ */