diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2017-11-12 18:34:50 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2017-12-07 01:00:29 +0000 |
commit | 81e62e85eeec8a4faee542e095556f66002776cd (patch) | |
tree | cc2230455bd8a60231f342ce3a041331a49f0c39 /include | |
parent | 23e2fa2fabf267311c1774ce550245b4e5e51be6 (diff) | |
download | chrome-ec-81e62e85eeec8a4faee542e095556f66002776cd.tar.gz |
usb_i2c: Remove usb_i2c_board_enable/disable
These functions are not used by usb_i2c.c on chip/stm32, let's
move them to board/cr50 which is the only place where they are
used.
Conflicts:
board/hammer/board.c
board/tigertail/board.c
BRANCH=none
BUG=None
TEST=make buildall -j
Change-Id: I8c1b292838b8dbee9a9001add9332e0add80c342
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/778749
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
(cherry picked from commit cd1f377f16fefc87e9d24290dc281ea193f7732b)
Reviewed-on: https://chromium-review.googlesource.com/813077
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_i2c.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/usb_i2c.h b/include/usb_i2c.h index c464e062a5..3e8eb3e7e5 100644 --- a/include/usb_i2c.h +++ b/include/usb_i2c.h @@ -156,18 +156,6 @@ void usb_i2c_deferred(struct usb_i2c_config const *config); */ /** - * Enable the I2C device - * - * @return EC_SUCCESS or non-zero error code. - */ -int usb_i2c_board_enable(void); - -/** - * Disable the I2C device - */ -void usb_i2c_board_disable(void); - -/** * Check if the I2C device is enabled * * @return 1 if enabled, 0 if disabled. |