summaryrefslogtreecommitdiff
path: root/src/mainboard/esd/atom15/fadt.c
diff options
context:
space:
mode:
authorMichael Tasche <michael.tasche@esd.eu>2015-12-03 17:07:01 +0100
committerMartin Roth <martinroth@google.com>2015-12-04 18:58:26 +0100
commit446c5dcd14cd551ad8ad35101ab2cdd2bdd78757 (patch)
tree255c17a80fe4bc4d1086bc59d333b44749d931ab /src/mainboard/esd/atom15/fadt.c
parent4d166f93807f7079f27c659562462c94c27e345f (diff)
downloadcoreboot-446c5dcd14cd551ad8ad35101ab2cdd2bdd78757.tar.xz
esd/atom15: import esd atom15 board
This patch adds esd atom15 board with Intel Atom E3815 SoC. Change-Id: I430a40ad8ab3316d34ec5567329370f69db3f15e Signed-off-by: Michael Tasche <michael.tasche@esd.eu> Reviewed-on: https://review.coreboot.org/12632 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/esd/atom15/fadt.c')
-rw-r--r--src/mainboard/esd/atom15/fadt.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mainboard/esd/atom15/fadt.c b/src/mainboard/esd/atom15/fadt.c
new file mode 100644
index 0000000000..38b9bfdd3f
--- /dev/null
+++ b/src/mainboard/esd/atom15/fadt.c
@@ -0,0 +1,32 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007-2009 coresystems GmbH
+ * Copyright (C) 2013-2014 Sage Electronic Engineering, LLC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <arch/acpi.h>
+#include <baytrail/acpi.h>
+
+void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
+{
+ acpi_header_t *header = &(fadt->header);
+
+ acpi_fill_in_fadt(fadt,facs,dsdt);
+
+ /* Platform specific customizations go here */
+
+ header->checksum = 0;
+ header->checksum =
+ acpi_checksum((void *) fadt, sizeof(acpi_fadt_t));
+
+}