From a34452451070830c8f9149100a8a8523220527a9 Mon Sep 17 00:00:00 2001 From: Corey Swenson Date: Fri, 15 May 2015 10:30:04 -0500 Subject: 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 Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/include/usr/vpd/vpd_if.H | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/include/usr/vpd') 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 -- cgit v1.2.1