diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2017-06-22 16:47:27 +1000 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-06-26 00:21:59 -0400 |
commit | 3fbdd8cb6e8525cf2e971e6b2de8c92cbd137887 (patch) | |
tree | 0e7e2d7fb57d6b198e3df62101348eb1afe4cec0 /src/usr | |
parent | fb3dfe1aa65ba35c121ac68151f2aca77e711a61 (diff) | |
download | talos-hostboot-3fbdd8cb6e8525cf2e971e6b2de8c92cbd137887.tar.gz talos-hostboot-3fbdd8cb6e8525cf2e971e6b2de8c92cbd137887.zip |
fapi2: Correct function name in platPutScom() error message
platPutScom() calls deviceWrite(), not deviceRead(). Fix the error message
accordingly.
Resolves #106
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Change-Id: Ieee862491b322e8b089a81b93da124ef8b8d932b
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42305
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/fapi2/plat_hw_access.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/fapi2/plat_hw_access.C b/src/usr/fapi2/plat_hw_access.C index 88686c1f7..d0969d760 100644 --- a/src/usr/fapi2/plat_hw_access.C +++ b/src/usr/fapi2/plat_hw_access.C @@ -179,7 +179,7 @@ ReturnCode platPutScom(const Target<TARGET_TYPE_ALL>& i_target, } else { - FAPI_ERR("platPutScom: deviceRead returns error!"); + FAPI_ERR("platPutScom: deviceWrite returns error!"); FAPI_ERR("platPutScom failed - Target %s, Addr %.16llX", l_targName, i_address); l_rc.setPlatDataPtr(reinterpret_cast<void *> (l_err)); |