[U-Boot] [PATCH 10/16] x86: cros_ec: Drop unnecessary init
Simon Glass
sjg at chromium.org
Tue Feb 24 14:24:05 CET 2015
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 at chromium.org>
---
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 e076ea6..7110f35 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 5158e3b..4b74479 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;
}
--
2.2.0.rc0.207.ga3a616c
More information about the U-Boot
mailing list