Skip to content

Commit

Permalink
Modify VPD fetchData() call to allow for reading from actual HW
Browse files Browse the repository at this point in the history
  - On an OpenPower system VPD can come from either the cache
    (in PNOR) or off of the real HW system.
  - Previously the option was just to read from the cache which
    wasn't always present

Change-Id: I2a0997ac7b594b10b3760399c8700e1bcc56e54b
CQ: SW442212
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64702
Reviewed-by: Richard Ward <rward15@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
wghoffa authored and dcrowell77 committed Aug 18, 2018
1 parent 14340c1 commit e07f0c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/usr/vpd/ipvpd.C
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ errlHndl_t IpVpdFacade::loadPnor ( TARGETING::Target * i_target )
uint16_t sRecLength = 0;
uint16_t pRecOffset = IPVPD_TOC_SIZE; // Records begin after TOC
input_args_t sRecArgs;
sRecArgs.location = VPD::SEEPROM;
sRecArgs.location =
static_cast<VPD::vpdCmdTarget>(VPD::SEEPROM | VPD::USEVPD);

std::list<TocPtRecord> recList;
recList.clear();
Expand Down

0 comments on commit e07f0c9

Please sign in to comment.