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
@@ -48,8 +48,7 @@ static void raminit_common(struct romstage_params *params)
|
||||
|
||||
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);
|
||||
|
@@ -392,8 +392,7 @@ void fsp_memory_init(bool s3wake)
|
||||
struct memranges memmap;
|
||||
struct range_entry freeranges[2];
|
||||
|
||||
if (CONFIG(ELOG_BOOT_COUNT) && !s3wake)
|
||||
boot_count_increment();
|
||||
elog_boot_notify(s3wake);
|
||||
|
||||
if (cbfs_boot_locate(&file_desc, name, NULL)) {
|
||||
printk(BIOS_CRIT, "Could not locate %s in CBFS\n", name);
|
||||
|
Reference in New Issue
Block a user