From: Simon Glass Date: Thu, 26 Mar 2015 15:29:34 +0000 (-0600) Subject: x86: cros_ec: Drop unnecessary init X-Git-Tag: v2015.07-rc1~279 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a5dec5a5c4470901580383e91764ba0c6f3832a6;p=u-boot 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 --- 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; }