浏览代码

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>
Simon Glass 10 年之前
父节点
当前提交
a5dec5a5c4
共有 2 个文件被更改,包括 0 次插入8 次删除
  1. 0 5
      board/coreboot/coreboot/coreboot.c
  2. 0 3
      board/google/chromebook_link/link.c

+ 0 - 5
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;
 }
 

+ 0 - 3
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;
 }