diff options
-rw-r--r-- | src/import/hwpf/fapi2/include/mvpd_access_defs.H | 1 | ||||
-rw-r--r-- | src/include/usr/vpd/mvpdenums.H | 1 | ||||
-rwxr-xr-x | src/usr/fapi2/plat_mvpd_access.C | 1 | ||||
-rw-r--r-- | src/usr/vpd/mvpd.H | 1 | ||||
-rwxr-xr-x | src/usr/vpd/test/mvpdtest.H | 5 |
5 files changed, 7 insertions, 2 deletions
diff --git a/src/import/hwpf/fapi2/include/mvpd_access_defs.H b/src/import/hwpf/fapi2/include/mvpd_access_defs.H index bce46e2a0..bf5389444 100644 --- a/src/import/hwpf/fapi2/include/mvpd_access_defs.H +++ b/src/import/hwpf/fapi2/include/mvpd_access_defs.H @@ -122,6 +122,7 @@ enum MvpdKeyword MVPD_KEYWORD_L7 = 0x2a, MVPD_KEYWORD_L8 = 0x2b, MVPD_KEYWORD_PDW = 0x2c, + MVPD_KEYWORD_AW = 0x2d, MVPD_KEYWORD_LAST, //useful for testcases MVPD_KEYWORD_FIRST = MVPD_KEYWORD_VD, //useful for testcases }; diff --git a/src/include/usr/vpd/mvpdenums.H b/src/include/usr/vpd/mvpdenums.H index 20eef7ed9..2a89b97e7 100644 --- a/src/include/usr/vpd/mvpdenums.H +++ b/src/include/usr/vpd/mvpdenums.H @@ -126,6 +126,7 @@ enum mvpdKeyword L8 = 0x2A, pdW = 0x2B, RT = 0x2C, + AW = 0x2D, // Last Keyword MVPD_LAST_KEYWORD, 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++; |