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 <[email protected]>
---

 board/samsung/common/board.c        | 12 ------------
 include/configs/exynos5420-common.h |  2 --
 include/configs/snow.h              |  1 -
 3 files changed, 15 deletions(-)

diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index da2245f..593548c 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -323,18 +323,6 @@ int board_late_init(void)
 }
 #endif
 
-int arch_early_init_r(void)
-{
-#ifdef CONFIG_CROS_EC
-       if (cros_ec_board_init()) {
-               printf("%s: Failed to init EC\n", __func__);
-               return 0;
-       }
-#endif
-
-       return 0;
-}
-
 #ifdef CONFIG_MISC_INIT_R
 int misc_init_r(void)
 {
diff --git a/include/configs/exynos5420-common.h 
b/include/configs/exynos5420-common.h
index fe72bd0..3f15e73 100644
--- a/include/configs/exynos5420-common.h
+++ b/include/configs/exynos5420-common.h
@@ -15,8 +15,6 @@
 
 #include <configs/exynos5-common.h>
 
-#define CONFIG_ARCH_EARLY_INIT_R
-
 #define MACH_TYPE_SMDK5420     8002
 #define CONFIG_MACH_TYPE       MACH_TYPE_SMDK5420
 
diff --git a/include/configs/snow.h b/include/configs/snow.h
index 7eaa586..fea7157 100644
--- a/include/configs/snow.h
+++ b/include/configs/snow.h
@@ -24,7 +24,6 @@
 #define CONFIG_POWER_TPS65090_I2C
 
 #define CONFIG_BOARD_COMMON
-#define CONFIG_ARCH_EARLY_INIT_R
 
 #define CONFIG_USB_XHCI
 #define CONFIG_USB_XHCI_EXYNOS
-- 
2.2.0.rc0.207.ga3a616c

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to