summaryrefslogtreecommitdiff
path: root/board/sandbox/sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-26 09:29:33 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:15 -0600
commit06fbf1026383e2d7af035d4d90d8240235d273cf (patch)
tree75981a655058158ab7873d2322aa65dd47f65578 /board/sandbox/sandbox.c
parent60f37fc6aaece8dcf0241435d42b0580c93c7b91 (diff)
sandbox: cros_ec: Drop unnecessary init
Since driver model will probe the EC when it is first used, we do not need to init it explicitly. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/sandbox/sandbox.c')
-rw-r--r--board/sandbox/sandbox.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c
index e4d4e021bc..2227f1c121 100644
--- a/board/sandbox/sandbox.c
+++ b/board/sandbox/sandbox.c
@@ -53,18 +53,6 @@ int board_early_init_f(void)
}
#endif
-int arch_early_init_r(void)
-{
-#ifdef CONFIG_CROS_EC
- if (cros_ec_board_init()) {
- printf("%s: Failed to init EC\n", __func__);
- return 0;
- }
-#endif
-
- return 0;
-}
-
#ifdef CONFIG_BOARD_LATE_INIT
int board_late_init(void)
{