summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2021-05-04 23:43:34 +0530
committerSubrata Banik <subrata.banik@intel.com>2021-05-12 06:16:21 +0000
commit86b1b6811c1c2cf47bdd7d662eb1865d83f60359 (patch)
treeed906a6e7b3c65f20ada4f1de2e19dd5e5043088 /src/include
parent8d2b0dcc4447e5189bf993f9b4854dfbd08fb55c (diff)
downloadcoreboot-86b1b6811c1c2cf47bdd7d662eb1865d83f60359.tar.xz
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/include')
-rw-r--r--src/include/console/post_codes.h30
1 files changed, 22 insertions, 8 deletions
diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h
index 9b2398c6fa..10793e317d 100644
--- a/src/include/console/post_codes.h
+++ b/src/include/console/post_codes.h
@@ -204,16 +204,16 @@
#define POST_BS_PAYLOAD_BOOT 0x7b
/**
- * \brief Before calling FSP Notify before End of Firmware
+ * \brief Before calling FSP Notify (end of firmware)
*
- * Going to call into FSP binary for Notify phase
+ * Going to call into FSP binary for Notify phase (end of firmware)
*/
#define POST_FSP_NOTIFY_BEFORE_END_OF_FIRMWARE 0x88
/**
- * \brief Before calling FSP Notify after End of Firmware
+ * \brief After calling FSP Notify (end of firmware)
*
- * Going to call into FSP binary for Notify phase
+ * Going to call into FSP binary for Notify phase (end of firmware)
*/
#define POST_FSP_NOTIFY_AFTER_END_OF_FIRMWARE 0x89
@@ -246,16 +246,16 @@
#define POST_FSP_SILICON_INIT 0x93
/**
- * \brief Before calling FSP Notify before resource allocation
+ * \brief Before calling FSP Notify (after PCI enumeration)
*
- * Going to call into FSP binary for Notify phase
+ * Going to call into FSP binary for Notify phase (after PCI enumeration)
*/
#define POST_FSP_NOTIFY_BEFORE_ENUMERATE 0x94
/**
- * \brief Before calling FSP Notify before finalize
+ * \brief Before calling FSP Notify (ready to boot)
*
- * Going to call into FSP binary for Notify phase
+ * Going to call into FSP binary for Notify phase (ready to boot)
*/
#define POST_FSP_NOTIFY_BEFORE_FINALIZE 0x95
@@ -302,6 +302,20 @@
#define POST_FSP_MULTI_PHASE_SI_INIT_EXIT 0xa1
/**
+ * \brief After calling FSP Notify (after PCI enumeration)
+ *
+ * Going to call into FSP binary for Notify phase (after PCI enumeration)
+ */
+#define POST_FSP_NOTIFY_AFTER_ENUMERATE 0xa2
+
+/**
+ * \brief After calling FSP Notify (ready to boot)
+ *
+ * Going to call into FSP binary for Notify phase (ready to boot)
+ */
+#define POST_FSP_NOTIFY_AFTER_FINALIZE 0xa3
+
+/**
* \brief Invalid or corrupt ROM
*
* Set if firmware failed to find or validate a resource that is stored in ROM.