mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
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>
This commit is contained in:
parent
a5dec5a5c4
commit
3db02b1b31
4 changed files with 0 additions and 16 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue