summaryrefslogtreecommitdiffstats
path: root/src/include/usr/pnor
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2015-02-11 11:04:51 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-18 15:06:42 -0600
commit79ea7abf6d31c146c680d39b9f3ae007e434a573 (patch)
tree359506a770bde98bb88930c71723b17371ec5937 /src/include/usr/pnor
parent84023756531d9c48d2e4939326f4048f2dadbe28 (diff)
downloadblackbird-hostboot-79ea7abf6d31c146c680d39b9f3ae007e434a573.tar.gz
blackbird-hostboot-79ea7abf6d31c146c680d39b9f3ae007e434a573.zip
New interfaces to get FSI and PNOR info for Xstop code
Added new external interfaces to retrieve information about the FSI topology and the PNOR characteristics in order to enable the checkstop analysis code that runs on the OCC. RTC: 108820 Change-Id: Ibbe9bca8eee4c8ac86006b1ad881bd8b2c3b8280 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15726 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/pnor')
-rw-r--r--src/include/usr/pnor/pnorif.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/usr/pnor/pnorif.H b/src/include/usr/pnor/pnorif.H
index 26890771a..00f80f421 100644
--- a/src/include/usr/pnor/pnorif.H
+++ b/src/include/usr/pnor/pnorif.H
@@ -183,6 +183,22 @@ enum sbeSeepromSide_t
errlHndl_t getSbeBootSeeprom(TARGETING::Target* i_target,
sbeSeepromSide_t& o_bootSide);
+
+/** Information about PNOR Layout */
+struct PnorInfo_t
+{
+ uint32_t mmioOffset; //< Address of MMIO access
+ uint32_t norWorkarounds; //< NOR flash workarounds
+ uint32_t flashSize; //< Size of PNOR in bytes
+};
+
+/**
+ * @brief Retrieve some information about the PNOR/SFC hardware
+ *
+ * @param[out] o_pnorInfo Information about PNOR
+ */
+void getPnorInfo( PnorInfo_t& o_pnorInfo );
+
}
#endif
OpenPOWER on IntegriCloud