summaryrefslogtreecommitdiff
path: root/include/base_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/base_state.h')
-rw-r--r--include/base_state.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/base_state.h b/include/base_state.h
new file mode 100644
index 0000000000..fd19721bae
--- /dev/null
+++ b/include/base_state.h
@@ -0,0 +1,11 @@
+/* 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.
+ */
+
+/**
+ * Call board specific base_force_state function.
+ * Force the current state of the base, with 0 meaning detached,
+ * 1 meaning attached and 2 meaning reset to the original state.
+ */
+void base_force_state(int state);