exynos: cros_ec: Drop unnecessary init
authorSimon Glass <sjg@chromium.org>
Thu, 26 Mar 2015 15:29:35 +0000 (09:29 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:15 +0000 (11:11 -0600)
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>
board/samsung/common/board.c
include/configs/exynos5420-common.h
include/configs/smdk5250.h
include/configs/snow.h

index 09798682117232e67f80a72e7abc98168f29cb56..9be295038b8e83413b6e2540b69127db8768cb37 100644 (file)
@@ -330,18 +330,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)
 {
index b42dab7a7fa69b74a81610e2da4e8ec0c29cff9a..3b1ac2cecd43135c223c6a422852142f2cc1ea00 100644 (file)
@@ -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
 
index 3b06d305db50221f8ec445d27673cd970c12719b..08381e34187ff53d2c694fdea2c4f0539f3b0859 100644 (file)
@@ -22,7 +22,6 @@
 #define CONFIG_POWER_MAX77686
 
 #define CONFIG_BOARD_COMMON
-#define CONFIG_ARCH_EARLY_INIT_R
 
 #define CONFIG_USB_XHCI
 #define CONFIG_USB_XHCI_EXYNOS
index fe802f253c91b2e1095af7d954c68c21e0fa3b7b..0b30791648e2f3e1071cdf2c708654bcad543951 100644 (file)
@@ -23,7 +23,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