UPSTREAM: drivers/intel/fsp2_0: track end of firmware notifications

The end of firmware notification is currently not being tracked
so it's hard to get good data on how long it takes. Update the
code to provide timestamp data as well as post codes.

BUG=chrome-os-partner:56656
BRANCH=None
TEST=None

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17373
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>

Change-Id: I74c1043f2e72d9d85b23a99b8253ac465f62a7f2
Reviewed-on: https://chromium-review.googlesource.com/411438
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Aaron Durbin 2016-11-10 21:09:25 -06:00 committed by chrome-bot
commit f906102c50
3 changed files with 26 additions and 1 deletions

View file

@ -202,6 +202,20 @@
*/
#define POST_BS_PAYLOAD_BOOT 0x7b
/**
* \brief Before calling FSP Notify before End of Firmware
*
* Going to call into FSP binary for Notify phase
*/
#define POST_FSP_NOTIFY_BEFORE_END_OF_FIRMWARE 0x88
/**
* \brief Before calling FSP Notify after End of Firmware
*
* Going to call into FSP binary for Notify phase
*/
#define POST_FSP_NOTIFY_AFTER_END_OF_FIRMWARE 0x89
/**
* \brief Before calling FSP TempRamInit
*