From 9233191751bcad9f98d41d4f5e701b20885f4619 Mon Sep 17 00:00:00 2001 From: Matt Ploetz Date: Fri, 31 Oct 2014 11:27:24 -0500 Subject: 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 Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/usr/vpd/vpd.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/usr') 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 #include #include +#include #include #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 ) ) -- cgit v1.2.1