summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbookair5_2/acpi_tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/apple/macbookair5_2/acpi_tables.c')
-rw-r--r--src/mainboard/apple/macbookair5_2/acpi_tables.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/apple/macbookair5_2/acpi_tables.c b/src/mainboard/apple/macbookair5_2/acpi_tables.c
new file mode 100644
index 0000000000..ad1295b6b3
--- /dev/null
+++ b/src/mainboard/apple/macbookair5_2/acpi_tables.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <acpi/acpi_gnvs.h>
+#include <soc/nvs.h>
+
+void mainboard_fill_gnvs(struct global_nvs *gnvs)
+{
+ /* The lid is open by default. */
+ gnvs->lids = 1;
+
+ gnvs->tcrt = 100;
+ gnvs->tpsv = 90;
+}