mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
BUG=chrome-os-partner:9922 TEST=manual Press power+refresh+d. From ec console, 'optget'. No reference to fake dev switch From host, 'ectool vboot'. Should see either 'fake_dev=0' or no mention of fake dev switch at all. Change-Id: I66bc5e926d6e639b206563e764bcc730cce9227c Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/27061 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
28 lines
700 B
C
28 lines
700 B
C
/* Copyright (c) 2012 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.
|
|
*/
|
|
|
|
/* Persistent EC options stored in EEPROM */
|
|
|
|
#ifndef __CROS_EC_EOPTION_H
|
|
#define __CROS_EC_EOPTION_H
|
|
|
|
#include "common.h"
|
|
|
|
/* Boolean options */
|
|
enum eoption_bool {
|
|
EOPTION_BOOL_TEST = 0, /* Test option */
|
|
};
|
|
|
|
/* Initialize the module. */
|
|
int eoption_init(void);
|
|
|
|
/* Return the current value of a boolean option. */
|
|
int eoption_get_bool(enum eoption_bool opt);
|
|
|
|
/* Set the value of a boolean option (0 = clear, non-zero=set). */
|
|
int eoption_set_bool(enum eoption_bool opt, int value);
|
|
|
|
#endif /* __CROS_EC_EOPTION_H */
|