commit | 7f50afb0c79fc041a8533586172cae53284d3c9b | [log] [tgz] |
---|---|---|
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | Wed Sep 11 17:12:26 2019 +0300 |
committer | Patrick Georgi <pgeorgi@google.com> | Fri Sep 13 09:58:33 2019 +0000 |
tree | 2294e2a03069bd25028fe5b9d4fb98367e21df34 | |
parent | 2cce24dd4b9aa106d3ac2e5519fc84a435813c09 [diff] |
drivers/elog: Add elog_boot_notify() Change-Id: I898188d31fcfd153eb95d0a7324fa9fd85316e3c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35373 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
diff --git a/src/drivers/intel/fsp1_1/romstage.c b/src/drivers/intel/fsp1_1/romstage.c index d86d3ab..67bea32 100644 --- a/src/drivers/intel/fsp1_1/romstage.c +++ b/src/drivers/intel/fsp1_1/romstage.c
@@ -48,8 +48,7 @@ s3wake = params->power_state->prev_sleep_state == ACPI_S3; - if (CONFIG(ELOG_BOOT_COUNT) && !s3wake) - boot_count_increment(); + elog_boot_notify(s3wake); /* Perform remaining SOC initialization */ soc_pre_ram_init(params);