summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMatt Ploetz <maploetz@us.ibm.com>2014-10-31 11:27:24 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-11-12 10:59:45 -0600
commit9233191751bcad9f98d41d4f5e701b20885f4619 (patch)
treeac8528215113670f543a6a21b7099161c59ee669 /src/usr
parent5dccc9bcd198b69cb33fc824a6a721ab1e88ff36 (diff)
downloadtalos-hostboot-9233191751bcad9f98d41d4f5e701b20885f4619.tar.gz
talos-hostboot-9233191751bcad9f98d41d4f5e701b20885f4619.zip
BMC: Adding call to markTargetChanged
Adding the call to mark a target as changed if the PNOR and SEEPROM part numbers don't match. Change-Id: I66053f49a864bf2ac4093e82aef38ed0fc10eb28 RTC:116553 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14260 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@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/usr')
-rwxr-xr-xsrc/usr/vpd/vpd.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/vpd/vpd.C b/src/usr/vpd/vpd.C
index cb08625cc..d12d821f5 100755
--- a/src/usr/vpd/vpd.C
+++ b/src/usr/vpd/vpd.C
@@ -29,6 +29,7 @@
#include <vpd/vpdreasoncodes.H>
#include <initservice/initserviceif.H>
#include <devicefw/driverif.H>
+#include <hwas/hwasPlat.H>
#include <sys/mm.h>
#include "vpd.H"
#include "mvpd.H"
@@ -539,7 +540,9 @@ errlHndl_t ensureCacheIsInSync ( TARGETING::Target * i_target )
{
TRACFCOMP(g_trac_vpd,"VPD::ensureCacheIsInSync: PNOR_PN/SN != SEEPROM_PN/SN, Loading PNOR from SEEPROM");
- // @todo RTC 116553 - Need HCDB update call here
+ //Set the targets as changed since the p/n's don't match
+ HWAS::markTargetChanged(i_target);
+
// Load the PNOR data from the SEEPROM
if( ( l_type == TARGETING::TYPE_PROC ) ||
( l_type == TARGETING::TYPE_MEMBUF ) )
OpenPOWER on IntegriCloud