summaryrefslogtreecommitdiffstats
path: root/src/usr/vpd/mvpd.C
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2014-09-08 15:56:45 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-10-17 14:12:26 -0500
commitc9cf241bc97ff6aba866d6acf167fd910a0f39c5 (patch)
tree37f0ddf358ee5cf5aff393ceee9d3aafb4887f72 /src/usr/vpd/mvpd.C
parent1428a1fabd827dcc8b43fd0039bfc75d2712c190 (diff)
downloadblackbird-hostboot-c9cf241bc97ff6aba866d6acf167fd910a0f39c5.tar.gz
blackbird-hostboot-c9cf241bc97ff6aba866d6acf167fd910a0f39c5.zip
BMC: VPD Caching in PNOR
For MVPD CVPD SPD, during presence detect VPD part number and serial number are compared between PNOR and SEEPROM. Mismatch triggers copy of VPD from SEEPROM to PNOR. Change-Id: Ia0a7b3fdf80bc15aee05c1303efa406fffa318ce RTC: 106885 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13233 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/vpd/mvpd.C')
-rw-r--r--src/usr/vpd/mvpd.C3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/vpd/mvpd.C b/src/usr/vpd/mvpd.C
index 6498e2561..9c3d6119f 100644
--- a/src/usr/vpd/mvpd.C
+++ b/src/usr/vpd/mvpd.C
@@ -103,6 +103,7 @@ namespace MVPD
IpVpdFacade::input_args_t args;
args.record = ((mvpdRecord)va_arg( i_args, uint64_t ));
args.keyword = ((mvpdKeyword)va_arg( i_args, uint64_t ));
+ args.location = ((VPD::vpdCmdTarget)va_arg( i_args, uint64_t ));
TRACSSCOMP( g_trac_vpd,
ENTER_MRK"mvpdRead()" );
@@ -156,6 +157,7 @@ namespace MVPD
IpVpdFacade::input_args_t args;
args.record = ((mvpdRecord)va_arg( i_args, uint64_t ));
args.keyword = ((mvpdKeyword)va_arg( i_args, uint64_t ));
+ args.location = ((VPD::vpdCmdTarget)va_arg( i_args, uint64_t ));
TRACSSCOMP( g_trac_vpd,
ENTER_MRK"mvpdWrite()" );
@@ -253,3 +255,4 @@ IpVpdFacade(MVPD::SECTION_SIZE,
iv_configInfo.vpdWriteHW = false;
#endif
}
+
OpenPOWER on IntegriCloud