summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vpd
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2015-05-15 10:30:04 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-07-17 09:50:29 -0500
commita34452451070830c8f9149100a8a8523220527a9 (patch)
treeceeef38401d1c3eed596b1c3e1bb705570b75892 /src/include/usr/vpd
parent5d1ff7656b2b1b8e50d9f30b180ff3e10b3adf3e (diff)
downloadtalos-hostboot-a34452451070830c8f9149100a8a8523220527a9.tar.gz
talos-hostboot-a34452451070830c8f9149100a8a8523220527a9.zip
Fix for VPD issues in golden and mfg boot
Change-Id: I86bed87da21ec9037c7b828874052066e4ec5f4a RTC: 128100 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17821 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: William H. Schwartz <whs@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/vpd')
-rw-r--r--src/include/usr/vpd/vpd_if.H16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/usr/vpd/vpd_if.H b/src/include/usr/vpd/vpd_if.H
index eff196042..e6f32dcc6 100644
--- a/src/include/usr/vpd/vpd_if.H
+++ b/src/include/usr/vpd/vpd_if.H
@@ -112,6 +112,22 @@ namespace VPD
*/
errlHndl_t invalidateAllPnorCaches ( bool i_setHwOnly );
+ /**
+ * @brief This function checks for golden-side boot and updates
+ * the VPD SWITCHES attribute if true
+ * @return errlHndl_t - NULL if successful, otherwise a pointer to the
+ * error log.
+ */
+ errlHndl_t goldenSwitchUpdate ( void );
+
+ /**
+ * @brief This function checks for manufacturing mode or
+ * golden-side boot and invalidates VPD PNOR cache if true
+ * @return errlHndl_t - NULL if successful, otherwise a pointer to the
+ * error log.
+ */
+ errlHndl_t goldenCacheInvalidate ( void );
+
}; //end vpd namespace
#endif
OpenPOWER on IntegriCloud