summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-26 09:29:36 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:16 -0600
commit7e0c77a2b80e4ffd398cffc7ecd407ddaa2a1cad (patch)
tree9d0489c1c996d381af2ff8713c00e77e9db10a2e
parent3db02b1b318d0a6c67e673ff966c9095f67b7132 (diff)
downloadu-boot-imx-7e0c77a2b80e4ffd398cffc7ecd407ddaa2a1cad.zip
u-boot-imx-7e0c77a2b80e4ffd398cffc7ecd407ddaa2a1cad.tar.gz
u-boot-imx-7e0c77a2b80e4ffd398cffc7ecd407ddaa2a1cad.tar.bz2
cros_ec: Remove unused cros_ec_board_init() function
Now that driver model handles cros_ec init, we can drop this special code. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--common/cros_ec.c5
-rw-r--r--include/cros_ec.h7
2 files changed, 0 insertions, 12 deletions
diff --git a/common/cros_ec.c b/common/cros_ec.c
index f9c74ca..7a4f785 100644
--- a/common/cros_ec.c
+++ b/common/cros_ec.c
@@ -28,11 +28,6 @@ struct cros_ec_dev *board_get_cros_ec_dev(void)
return dev_get_uclass_priv(dev);
}
-int cros_ec_board_init(void)
-{
- return 0;
-}
-
int cros_ec_get_error(void)
{
struct udevice *dev;
diff --git a/include/cros_ec.h b/include/cros_ec.h
index 850c09e..3b2be2c 100644
--- a/include/cros_ec.h
+++ b/include/cros_ec.h
@@ -363,13 +363,6 @@ int cros_ec_set_ldo(struct cros_ec_dev *dev, uint8_t index, uint8_t state);
int cros_ec_get_ldo(struct cros_ec_dev *dev, uint8_t index, uint8_t *state);
/**
- * Initialize the Chrome OS EC at board initialization time.
- *
- * @return 0 if ok, -ve on error
- */
-int cros_ec_board_init(void);
-
-/**
* Get access to the error reported when cros_ec_board_init() was called
*
* This permits delayed reporting of the EC error if it failed during