Commit a5dec5a5 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 06fbf102
......@@ -10,11 +10,6 @@
int arch_early_init_r(void)
{
#ifdef CONFIG_CROS_EC
if (cros_ec_board_init())
return -1;
#endif
return 0;
}
......
......@@ -22,9 +22,6 @@ int arch_early_init_r(void)
if (ret)
return ret;
if (cros_ec_board_init())
return -1;
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment