diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-26 09:29:34 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:15 -0600 |
commit | a5dec5a5c4470901580383e91764ba0c6f3832a6 (patch) | |
tree | a2f70c2f867b5bf8bc28d7f4a51cf8d567a506fd /board | |
parent | 06fbf1026383e2d7af035d4d90d8240235d273cf (diff) | |
download | u-boot-a5dec5a5c4470901580383e91764ba0c6f3832a6.tar.gz |
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 <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/coreboot/coreboot/coreboot.c | 5 | ||||
-rw-r--r-- | board/google/chromebook_link/link.c | 3 |
2 files changed, 0 insertions, 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; } |