diff options
author | Anton Staaf <robotboy@chromium.org> | 2015-09-08 09:00:33 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-08 18:43:47 -0700 |
commit | 490e8a482f07ce8c39d6a40bcff5abb24a38449a (patch) | |
tree | de1e826c9f779287c4e9c5afe40375da8bcbb995 /include | |
parent | 96093145cb6549a6058627a7aa196e86ac3911f4 (diff) | |
download | chrome-ec-490e8a482f07ce8c39d6a40bcff5abb24a38449a.tar.gz |
eoption: Remove unused eeprom option storage code
Signed-off-by: Anton Staaf <robotboy@chromium.org>
BRANCH=None
BUG=None
TEST=make buildall -j
Change-Id: I2174a904df160d19d47f1aa2d053349356cb4291
Reviewed-on: https://chromium-review.googlesource.com/297805
Commit-Ready: Anton Staaf <robotboy@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 | ||||
-rw-r--r-- | include/eoption.h | 41 |
2 files changed, 0 insertions, 47 deletions
diff --git a/include/config.h b/include/config.h index 946e9dcf5b..0da8f46b9e 100644 --- a/include/config.h +++ b/include/config.h @@ -651,12 +651,6 @@ /* Support EC chip internal data EEPROM */ #undef CONFIG_EEPROM -/* - * Compile the eoption module, which provides a higher-level interface to - * options stored in internal data EEPROM. - */ -#undef CONFIG_EOPTION - /* Include code for handling external power */ #define CONFIG_EXTPOWER diff --git a/include/eoption.h b/include/eoption.h deleted file mode 100644 index e1810f3f60..0000000000 --- a/include/eoption.h +++ /dev/null @@ -1,41 +0,0 @@ -/* 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. - */ -void eoption_init(void); - -/** - * Return the current value of a boolean option. - * - * @param opt Option to return - * @return 0 if option is false, 1 if true. - */ -int eoption_get_bool(enum eoption_bool opt); - -/** - * Set the value of a boolean option - * - * @param opt Option to set - * @param value New value for option - * - * @return EC_SUCCESS, or non-zero if error. - */ -int eoption_set_bool(enum eoption_bool opt, int value); - -#endif /* __CROS_EC_EOPTION_H */ |