summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorJoe McGill <jmcgill@us.ibm.com>2017-11-10 15:22:36 -0600
committerChristian R. Geddes <crgeddes@us.ibm.com>2017-11-28 18:43:46 -0500
commit47a980c12cf78226a5f214973d60e42b32b02583 (patch)
tree46ff6dd54d18bf75fe789a35eecf38cef0ffdf10 /src/usr
parent000deef452bc3dbb4915e5f97bd002c4957abb4e (diff)
downloadtalos-hostboot-47a980c12cf78226a5f214973d60e42b32b02583.tar.gz
talos-hostboot-47a980c12cf78226a5f214973d60e42b32b02583.zip
mvpd_access_defs.H -- add enum for AW keyword access
Change-Id: I58fd7287bf9d16855ede133e7d3b088ee6985fde Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49567 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49574 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: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/usr')
-rwxr-xr-xsrc/usr/fapi2/plat_mvpd_access.C1
-rw-r--r--src/usr/vpd/mvpd.H1
-rwxr-xr-xsrc/usr/vpd/test/mvpdtest.H5
3 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/fapi2/plat_mvpd_access.C b/src/usr/fapi2/plat_mvpd_access.C
index d927f7f61..efddaae01 100755
--- a/src/usr/fapi2/plat_mvpd_access.C
+++ b/src/usr/fapi2/plat_mvpd_access.C
@@ -246,6 +246,7 @@ fapi2::ReturnCode MvpdKeywordXlate(const fapi2::MvpdKeyword i_fapiKeyword,
{MVPD::L7, MVPD_KEYWORD_L7},
{MVPD::L8, MVPD_KEYWORD_L8},
{MVPD::pdW, MVPD_KEYWORD_PDW},
+ {MVPD::AW, MVPD_KEYWORD_AW},
/*Keywords available in HB but not in FAPI enum*/
//{MVPD::PM, MVPD_KEYWORD_PM},
diff --git a/src/usr/vpd/mvpd.H b/src/usr/vpd/mvpd.H
index 91679c533..a8a63e894 100644
--- a/src/usr/vpd/mvpd.H
+++ b/src/usr/vpd/mvpd.H
@@ -137,6 +137,7 @@ namespace MVPD
{ L8, "L8" },
{ pdW, "#W" },
{ RT, "RT" },
+ { AW, "AW" },
// -------------------------------------------------------------------
// DO NOT USE!! This is for test purposes ONLY!
diff --git a/src/usr/vpd/test/mvpdtest.H b/src/usr/vpd/test/mvpdtest.H
index 6f58e2d35..b9740c39c 100755
--- a/src/usr/vpd/test/mvpdtest.H
+++ b/src/usr/vpd/test/mvpdtest.H
@@ -77,6 +77,7 @@ mvpdTestData mvpdData[] =
{ MVPD::CP00, MVPD::pdV },
{ MVPD::CP00, MVPD::SB },
{ MVPD::CP00, MVPD::PB },
+ { MVPD::CP00, MVPD::AW },
{ MVPD::LRP0, MVPD::VD },
{ MVPD::LRP0, MVPD::pdV },
{ MVPD::LRP0, MVPD::pdM },
@@ -497,7 +498,7 @@ class MVPDTest: public CxxTest::TestSuite
// first figure out how big the keyword is
cmds++;
- size_t theSize = 0;
+ size_t theSize = 0;
err = deviceRead( theTarget,
testData,
theSize,
@@ -559,7 +560,7 @@ class MVPDTest: public CxxTest::TestSuite
errlCommit( err,
VPD_COMP_ID );
continue;
- }
+ }
// verify the data got written
cmds++;
OpenPOWER on IntegriCloud