summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/baytrail/romstage/romstage.c5
1 files changed, 5 insertions, 0 deletions
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 <ec/google/chromeec/ec.h>
#endif
+#include <elog.h>
#include <ramstage_cache.h>
#include <romstage_handoff.h>
#include <timestamp.h>
@@ -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);