aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/littleplains/fadt.c
diff options
context:
space:
mode:
authorMarcin Wojciechowski <marcin.wojciechowski@intel.com>2015-11-20 14:53:46 +0100
committerMartin Roth <martinroth@google.com>2015-11-30 18:00:50 +0100
commit9586dc72dbd61b56975dd4c24793ef1cdc2d012b (patch)
tree9206b8f5e02c5437b7c5086903f2b667b747cb36 /src/mainboard/intel/littleplains/fadt.c
parentb4b298c4498834ad221fdefd8d9bae74daeaa468 (diff)
mainboard/intel: Add Little Plains
This adds a new mainboard: Little Plains for Intel's atom c2000 It was based on Mohon Peak board with some minor changes This board is not available as standalone product It is a managment board for Intel Ethernet Multi-host Controller FM10000 Series The FSP package is available from Intel: https://www.intel.com/fsp Change-Id: I28127a858106ed35d26e235f0c6393c20ed14350 Signed-off-by: Marcin Wojciechowski <marcin.wojciechowski@intel.com> Reviewed-on: https://review.coreboot.org/12503 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/intel/littleplains/fadt.c')
-rw-r--r--src/mainboard/intel/littleplains/fadt.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mainboard/intel/littleplains/fadt.c b/src/mainboard/intel/littleplains/fadt.c
new file mode 100644
index 0000000000..83adf8524d
--- /dev/null
+++ b/src/mainboard/intel/littleplains/fadt.c
@@ -0,0 +1,38 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 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 <device/device.h>
+#include <southbridge/intel/fsp_rangeley/soc.h>
+
+void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
+{
+ acpi_fill_in_fadt(fadt,facs,dsdt);
+
+#define PLATFORM_HAS_FADT_CUSTOMIZATIONS 0
+
+
+ /*
+ * Platform specific customizations go here.
+ * Update the #define above if customizations are added.
+ */
+
+
+#if PLATFORM_HAS_FADT_CUSTOMIZATIONS
+ header->checksum = 0;
+ header->checksum =
+ acpi_checksum((void *) fadt, sizeof(acpi_fadt_t));
+#endif
+
+}