diff options
Diffstat (limited to 'src/drivers/intel/fsp2_0/notify.c')
-rw-r--r-- | src/drivers/intel/fsp2_0/notify.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/drivers/intel/fsp2_0/notify.c b/src/drivers/intel/fsp2_0/notify.c index d9de02235e..bd489d4ce6 100644 --- a/src/drivers/intel/fsp2_0/notify.c +++ b/src/drivers/intel/fsp2_0/notify.c @@ -38,17 +38,23 @@ enum fsp_status fsp_notify(enum fsp_notify_phase phase) printk(BIOS_DEBUG, "FspNotify %x\n", (uint32_t) phase); - if (phase == AFTER_PCI_ENUM) + if (phase == AFTER_PCI_ENUM) { timestamp_add_now(TS_FSP_BEFORE_ENUMERATE); - else if (phase == READY_TO_BOOT) + post_code(POST_FSP_NOTIFY_BEFORE_ENUMERATE); + } else if (phase == READY_TO_BOOT) { timestamp_add_now(TS_FSP_BEFORE_FINALIZE); + post_code(POST_FSP_NOTIFY_BEFORE_FINALIZE); + } ret = fspnotify(¬ify_params); - if (phase == AFTER_PCI_ENUM) + if (phase == AFTER_PCI_ENUM) { timestamp_add_now(TS_FSP_AFTER_ENUMERATE); - else if (phase == READY_TO_BOOT) + post_code(POST_FSP_NOTIFY_BEFORE_ENUMERATE); + } else if (phase == READY_TO_BOOT) { timestamp_add_now(TS_FSP_AFTER_FINALIZE); + post_code(POST_FSP_NOTIFY_BEFORE_FINALIZE); + } return ret; } |