diff options
author | Bill Hoffa <wghoffa@us.ibm.com> | 2018-08-16 15:54:33 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-08-18 13:12:49 -0500 |
commit | e07f0c96e66b4dc7986076db0a9f3ebe02902361 (patch) | |
tree | de331d2e67077bb6a5974b3cc6a8fc172e1e646b | |
parent | 14340c147361cc0616582b090f7abcf1901072f6 (diff) | |
download | talos-hostboot-e07f0c96e66b4dc7986076db0a9f3ebe02902361.tar.gz talos-hostboot-e07f0c96e66b4dc7986076db0a9f3ebe02902361.zip |
Modify VPD fetchData() call to allow for reading from actual HW
- 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>
-rw-r--r-- | src/usr/vpd/ipvpd.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/vpd/ipvpd.C b/src/usr/vpd/ipvpd.C index 25b7970f2..877b91283 100644 --- a/src/usr/vpd/ipvpd.C +++ b/src/usr/vpd/ipvpd.C @@ -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(); |