diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c index 9752363cfd..5af9bf4566 100644 --- a/src/soc/intel/baytrail/romstage/romstage.c +++ b/src/soc/intel/baytrail/romstage/romstage.c @@ -28,6 +28,7 @@ #if CONFIG_EC_GOOGLE_CHROMEEC #include #endif +#include #include #include #include @@ -145,6 +146,10 @@ void romstage_common(struct romstage_params *params) mark_ts(params, timestamp_get()); +#if CONFIG_ELOG_BOOT_COUNT + boot_count_increment(); +#endif + /* Initialize RAM */ raminit(params->mrc_params, 5);