summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-26 09:29:35 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:15 -0600
commit3db02b1b318d0a6c67e673ff966c9095f67b7132 (patch)
treefcd2dde68b72017a1b19cd36a0062661218feaaa
parenta5dec5a5c4470901580383e91764ba0c6f3832a6 (diff)
downloadu-boot-3db02b1b318d0a6c67e673ff966c9095f67b7132.tar.gz
exynos: 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>
-rw-r--r--board/samsung/common/board.c12
-rw-r--r--include/configs/exynos5420-common.h2
-rw-r--r--include/configs/smdk5250.h1
-rw-r--r--include/configs/snow.h1
4 files changed, 0 insertions, 16 deletions
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 0979868211..9be295038b 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -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)
{
diff --git a/include/configs/exynos5420-common.h b/include/configs/exynos5420-common.h
index b42dab7a7f..3b1ac2cecd 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/smdk5250.h b/include/configs/smdk5250.h
index 3b06d305db..08381e3418 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -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
diff --git a/include/configs/snow.h b/include/configs/snow.h
index fe802f253c..0b30791648 100644
--- a/include/configs/snow.h
+++ b/include/configs/snow.h
@@ -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