2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 Google, Inc.
5 * Copyright (C) 2013 Sage Electronic Engineering, LLC.
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.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #ifndef _BAYTRAIL_ACPI_H_
18 #define _BAYTRAIL_ACPI_H_
20 #include <arch/acpi.h>
21 #include <baytrail/nvs.h>
22 #include <device/device.h>
24 void acpi_create_intel_hpet(acpi_hpet_t
* hpet
);
25 void acpi_create_serialio_ssdt(acpi_header_t
*ssdt
);
26 void acpi_fill_in_fadt(acpi_fadt_t
* fadt
, acpi_facs_t
* facs
, void *dsdt
);
27 unsigned long acpi_madt_irq_overrides(unsigned long current
);
28 void acpi_init_gnvs(global_nvs_t
*gnvs
);
29 unsigned long southcluster_write_acpi_tables(device_t device
,
30 unsigned long current
,
31 struct acpi_rsdp
*rsdp
);
32 void southcluster_inject_dsdt(device_t device
);
34 #endif /* _BAYTRAIL_ACPI_H_ */