diff options
Diffstat (limited to 'include/base_state.h')
-rw-r--r-- | include/base_state.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/base_state.h b/include/base_state.h deleted file mode 100644 index d8c72e5663..0000000000 --- a/include/base_state.h +++ /dev/null @@ -1,24 +0,0 @@ -/* 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. - */ - -#include "ec_commands.h" - -/** - * Return 1 if base attached, 0 otherwise. - */ -int base_get_state(void); - -/** - * Sets the current state of the base, with 0 meaning detached, - * and non-zero meaning attached. - */ -void base_set_state(int state); - -/** - * 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(enum ec_set_base_state_cmd state); |