summaryrefslogtreecommitdiff
path: root/src/include/console
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-11-10 21:09:25 -0600
committerAaron Durbin <adurbin@chromium.org>2016-11-12 04:07:06 +0100
commit96b3c6f937326d3715a9e50c63112ed9b8292526 (patch)
tree680f5f88fd1a8708e05472da1d1beb474ec58336 /src/include/console
parentbf696f56021b26596121b060df6bb2f4172231eb (diff)
downloadcoreboot-96b3c6f937326d3715a9e50c63112ed9b8292526.tar.xz
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 Change-Id: I74c1043f2e72d9d85b23a99b8253ac465f62a7f2 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>
Diffstat (limited to 'src/include/console')
-rw-r--r--src/include/console/post_codes.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h
index c7722e5faf..9f24199cb7 100644
--- a/src/include/console/post_codes.h
+++ b/src/include/console/post_codes.h
@@ -203,6 +203,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
*
* Going to call into FSP binary for TempRamInit phase