summaryrefslogtreecommitdiff
path: root/board/cr50/recovery_button.h
blob: 4a237a776af9e467c26a936fc9c94cb0a69399fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright 2019 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.
 */

#ifndef __EC_BOARD_CR50_RECOVERY_BUTTON_H
#define __EC_BOARD_CR50_RECOVERY_BUTTON_H

/**
 * Latch a recovery button sequence.  This state is latched for
 * RECOVERY_BUTTON_TIMEOUT or until the AP requests the recovery button
 * state.
 */
void recovery_button_record(void);

#endif  /* ! __EC_BOARD_CR50_RECOVERY_BUTTON_H */