summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vpd
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2015-02-24 10:41:02 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-03-10 22:42:32 -0500
commitd75a32eaa8312aa7f057a73479f74747b73e54f2 (patch)
tree8fb6bfda20a2bfc13a49472870d6439df65ac2e3 /src/include/usr/vpd
parenta4e3995bbd258ec44d3b9b1b7f3e8d22538e4e71 (diff)
downloadblackbird-hostboot-d75a32eaa8312aa7f057a73479f74747b73e54f2.tar.gz
blackbird-hostboot-d75a32eaa8312aa7f057a73479f74747b73e54f2.zip
Clear out VPD caches when booting with a golden image
Change-Id: Ie371e855dc53655ac0d9d3f10119a2253cfab77d RTC: 124570 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15964 Tested-by: Jenkins Server Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@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.H7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/usr/vpd/vpd_if.H b/src/include/usr/vpd/vpd_if.H
index 776ccd084..0b3298a80 100644
--- a/src/include/usr/vpd/vpd_if.H
+++ b/src/include/usr/vpd/vpd_if.H
@@ -88,9 +88,12 @@ namespace VPD
errlHndl_t invalidatePnorCache ( TARGETING::Target * i_target );
/**
- * @brief This function sets the VPD config flags to use HW and not PNOR
+ * @brief This function invalidates all of the VPD data in the PNOR cache.
+ * @param[in] i_setHwOnly - Also set vars to not access VPD cache
+ * @return errlHndl_t - NULL if successful, otherwise a pointer to the
+ * error log.
*/
- void setVpdConfigFlagsHW ( );
+ errlHndl_t invalidateAllPnorCaches ( bool i_setHwOnly );
}; //end vpd namespace
OpenPOWER on IntegriCloud