diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-05-04 23:43:34 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-05-12 06:16:21 +0000 |
commit | 86b1b6811c1c2cf47bdd7d662eb1865d83f60359 (patch) | |
tree | ed906a6e7b3c65f20ada4f1de2e19dd5e5043088 /src/drivers/intel | |
parent | 8d2b0dcc4447e5189bf993f9b4854dfbd08fb55c (diff) |
include/console: Fix FSP Notify phase postcodes discrepancy
List of changes:
1. Make the FSP notify phases name prior in comments section.
2. Fix discrepancies in FSP notify before and after postcode comments.
3. Add FSP notify postcode macros for after pci enumeration(0xa2)
and ready to boot(0xa3) call.
Change-Id: Ib4c825d5f1f31f80ad2a03ff5d6006daa7104d23
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52894
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r-- | src/drivers/intel/fsp2_0/notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/fsp2_0/notify.c b/src/drivers/intel/fsp2_0/notify.c index cbccc6eacf..311ce46f19 100644 --- a/src/drivers/intel/fsp2_0/notify.c +++ b/src/drivers/intel/fsp2_0/notify.c @@ -38,10 +38,10 @@ static void fsp_notify(enum fsp_notify_phase phase) if (phase == AFTER_PCI_ENUM) { timestamp_add_now(TS_FSP_AFTER_ENUMERATE); - post_code(POST_FSP_NOTIFY_BEFORE_ENUMERATE); + post_code(POST_FSP_NOTIFY_AFTER_ENUMERATE); } else if (phase == READY_TO_BOOT) { timestamp_add_now(TS_FSP_AFTER_FINALIZE); - post_code(POST_FSP_NOTIFY_BEFORE_FINALIZE); + post_code(POST_FSP_NOTIFY_AFTER_FINALIZE); } else if (phase == END_OF_FIRMWARE) { timestamp_add_now(TS_FSP_AFTER_END_OF_FIRMWARE); post_code(POST_FSP_NOTIFY_AFTER_END_OF_FIRMWARE); |