blob: 83adf8524d08e545c1a781e6bc33d800b5e0d979 [file] [log] [blame]
Chris Chingb1469312016-05-11 09:06:50 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2014 Sage Electronic Engineering, LLC.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#include <device/device.h>
17#include <southbridge/intel/fsp_rangeley/soc.h>
18
19void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
20{
21 acpi_fill_in_fadt(fadt,facs,dsdt);
22
23#define PLATFORM_HAS_FADT_CUSTOMIZATIONS 0
24
25
26 /*
27 * Platform specific customizations go here.
28 * Update the #define above if customizations are added.
29 */
30
31
32#if PLATFORM_HAS_FADT_CUSTOMIZATIONS
33 header->checksum = 0;
34 header->checksum =
35 acpi_checksum((void *) fadt, sizeof(acpi_fadt_t));
36#endif
37
38}