From a5dec5a5c4470901580383e91764ba0c6f3832a6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 26 Mar 2015 09:29:34 -0600 Subject: x86: 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/coreboot/coreboot/coreboot.c | 5 ----- board/google/chromebook_link/link.c | 3 --- 2 files changed, 8 deletions(-) diff --git a/board/coreboot/coreboot/coreboot.c b/board/coreboot/coreboot/coreboot.c index e076ea69cf..7110f350d5 100644 --- a/board/coreboot/coreboot/coreboot.c +++ b/board/coreboot/coreboot/coreboot.c @@ -10,11 +10,6 @@ int arch_early_init_r(void) { -#ifdef CONFIG_CROS_EC - if (cros_ec_board_init()) - return -1; -#endif - return 0; } diff --git a/board/google/chromebook_link/link.c b/board/google/chromebook_link/link.c index 8c04cb8280..1b97a8fea8 100644 --- a/board/google/chromebook_link/link.c +++ b/board/google/chromebook_link/link.c @@ -22,9 +22,6 @@ int arch_early_init_r(void) if (ret) return ret; - if (cros_ec_board_init()) - return -1; - return 0; } -- cgit v1.2.1