summaryrefslogtreecommitdiff
path: root/board/yorp/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/yorp/board.c')
-rw-r--r--board/yorp/board.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/board/yorp/board.c b/board/yorp/board.c
new file mode 100644
index 0000000000..b44483a0e1
--- /dev/null
+++ b/board/yorp/board.c
@@ -0,0 +1,22 @@
+/* Copyright 2018 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Yorp board-specific configuration */
+
+#include "common.h"
+#include "gpio.h"
+#include "lid_switch.h"
+#include "power_button.h"
+#include "switch.h"
+#include "system.h"
+#include "util.h"
+
+#include "gpio_list.h" /* Must come after other header files. */
+
+/* TODO(b/73811887): Fill out correctly */
+const enum gpio_signal hibernate_wake_pins[] = {
+ GPIO_LID_OPEN
+};
+const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins);