diff options
author | CHRISTINA L. GRAVES <clgraves@us.ibm.com> | 2016-12-12 12:58:49 -0600 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2019-02-12 16:46:23 -0600 |
commit | 8d513e24505114a1b9934b5728d92e6b5a3a651d (patch) | |
tree | a9a3671604fc50e3d2def53a1189eff97b222900 | |
parent | d7d6bff49f2219de594242224e66a1597d74000f (diff) | |
download | talos-hostboot-8d513e24505114a1b9934b5728d92e6b5a3a651d.tar.gz talos-hostboot-8d513e24505114a1b9934b5728d92e6b5a3a651d.zip |
Adding in LPC and OPB timeout values
Change-Id: I5a15d272d4fd5a5953a2057a02eb4c54f1438108
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33740
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71478
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
-rw-r--r-- | src/import/chips/p9/procedures/hwp/perv/p9_sbe_lpc_init.C | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_sbe_lpc_init.C b/src/import/chips/p9/procedures/hwp/perv/p9_sbe_lpc_init.C index f0b10b329..a7c5b39a5 100644 --- a/src/import/chips/p9/procedures/hwp/perv/p9_sbe_lpc_init.C +++ b/src/import/chips/p9/procedures/hwp/perv/p9_sbe_lpc_init.C @@ -47,7 +47,10 @@ fapi2::ReturnCode p9_sbe_lpc_init(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target_chip) { - + const uint64_t C_LPC_TIMEOUT_ADDR = 0x00400000C001202C; + const uint64_t C_LPC_TIMEOUT_DATA = 0x00000000FE000000; + const uint64_t C_OPB_TIMEOUT_ADDR = 0x00400000C0010040; + const uint64_t C_OPB_TIMEOUT_DATA = 0x00000000FFFFFFFE; fapi2::buffer<uint64_t> l_data64; uint8_t l_use_gpio = 0; uint8_t l_is_fsp = 0; @@ -102,6 +105,17 @@ fapi2::ReturnCode p9_sbe_lpc_init(const FAPI_TRY(fapi2::putScom(i_target_chip, PU_GPIO_OUTPUT_EN, l_data64)); } + //Set up the LPC timeout settings + l_data64 = C_LPC_TIMEOUT_ADDR; + FAPI_TRY(fapi2::putScom(i_target_chip, PU_LPC_CMD_REG, l_data64), "Error tring to set LPC timeout address"); + l_data64 = C_LPC_TIMEOUT_DATA; + FAPI_TRY(fapi2::putScom(i_target_chip, PU_LPC_DATA_REG, l_data64), "Error trying to set LPC timeout data"); + //Set up the OPB timeout settings + l_data64 = C_OPB_TIMEOUT_ADDR; + FAPI_TRY(fapi2::putScom(i_target_chip, PU_LPC_CMD_REG, l_data64), "Error trying to set OPB timeout address"); + l_data64 = C_OPB_TIMEOUT_DATA; + FAPI_TRY(fapi2::putScom(i_target_chip, PU_LPC_DATA_REG, l_data64), "Error trying to set OPB timeout data"); + FAPI_DBG("p9_sbe_lpc_init: Exiting ..."); fapi_try_exit: |