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>
This commit is contained in:
committed by
Patrick Georgi
parent
2cce24dd4b
commit
7f50afb0c7
@@ -185,10 +185,7 @@ void mainboard_romstage_entry(void)
|
||||
|
||||
printk(BIOS_DEBUG, "prev_sleep_state = S%d\n", prev_sleep_state);
|
||||
|
||||
#if CONFIG(ELOG_BOOT_COUNT)
|
||||
if (prev_sleep_state != ACPI_S3)
|
||||
boot_count_increment();
|
||||
#endif
|
||||
elog_boot_notify(prev_sleep_state == ACPI_S3);
|
||||
|
||||
/* Initialize RAM */
|
||||
raminit(&mp, prev_sleep_state);
|
||||
|
Reference in New Issue
Block a user