diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/baytrail/romstage/romstage.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c index 0149f1f351..9752363cfd 100644 --- a/src/soc/intel/baytrail/romstage/romstage.c +++ b/src/soc/intel/baytrail/romstage/romstage.c @@ -25,6 +25,9 @@ #include <console/console.h> #include <cbmem.h> #include <cpu/x86/mtrr.h> +#if CONFIG_EC_GOOGLE_CHROMEEC +#include <ec/google/chromeec/ec.h> +#endif #include <ramstage_cache.h> #include <romstage_handoff.h> #include <timestamp.h> @@ -124,6 +127,11 @@ void * asmlinkage romstage_main(unsigned long bist, gfx_init(); +#if CONFIG_EC_GOOGLE_CHROMEEC + /* Ensure the EC is in the right mode for recovery */ + google_chromeec_early_init(); +#endif + /* Call into mainboard. */ mainboard_romstage_entry(&rp); |