Commit 48a223e4 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

x86: coreboot: Wrap cros_ec initialization

cros_ec_board_init() should be called only when CONFIG_CROS_EC is
Signed-off-by: default avatarBin Meng <>
Acked-by: default avatarSimon Glass <>
parent ade8127a
......@@ -10,8 +10,10 @@
int arch_early_init_r(void)
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