From 06fbf1026383e2d7af035d4d90d8240235d273cf Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 26 Mar 2015 09:29:33 -0600 Subject: 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 --- board/sandbox/sandbox.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'board/sandbox/sandbox.c') diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c index e4d4e021bcd..2227f1c1214 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) { -- cgit