summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/procedures/hwp
diff options
context:
space:
mode:
authorLouis Stermole <stermole@us.ibm.com>2019-12-20 13:56:40 -0500
committerChristian R Geddes <crgeddes@us.ibm.com>2020-01-09 14:02:21 -0600
commit7b91b9596065935f14d87d2eef2dd980039823e2 (patch)
treeb75788802ab4aff15d1fd69d47e7ba5740a9101a /src/import/chips/ocmb/explorer/procedures/hwp
parent6b24abd70da7f9578edbb6876bbdd1dc1344758d (diff)
downloadtalos-hostboot-7b91b9596065935f14d87d2eef2dd980039823e2.tar.gz
talos-hostboot-7b91b9596065935f14d87d2eef2dd980039823e2.zip
Add attribute to specify polling timeout for exp_check_for_ready
Change-Id: I2ab3384927c89c8aa8f8c16f2b7a666c5f1ae935 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/89027 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/89050 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C
index 94a3a383e..d7f80d648 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_check_for_ready.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2018,2019 */
+/* Contributors Listed Below - COPYRIGHT 2018,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -38,6 +38,8 @@
#include <exp_check_for_ready.H>
#include <lib/i2c/exp_i2c.H>
#include <generic/memory/mss_git_data_helper.H>
+#include <generic/memory/lib/utils/shared/mss_generic_consts.H>
+#include <mss_explorer_attribute_getters.H>
extern "C"
{
@@ -50,7 +52,11 @@ extern "C"
{
mss::display_git_commit_info("exp_check_for_ready");
- FAPI_TRY(mss::exp::i2c::exp_check_for_ready_helper(i_target));
+ fapi2::ATTR_MSS_CHECK_FOR_READY_TIMEOUT_Type l_poll_count = 0;
+
+ FAPI_TRY(mss::attr::get_check_for_ready_timeout(i_target, l_poll_count));
+
+ FAPI_TRY(mss::exp::i2c::exp_check_for_ready_helper(i_target, l_poll_count, mss::DELAY_1MS));
fapi_try_exit:
return fapi2::current_err;
OpenPOWER on IntegriCloud