summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H
diff options
context:
space:
mode:
authorJoachim Fenkes <fenkes@de.ibm.com>2018-07-25 16:20:27 +0200
committerSachin Gupta <sgupta2m@in.ibm.com>2018-07-27 01:20:28 -0500
commit4191b61e176a2ec16ddb8c0d4dc0c34bdc19eca4 (patch)
tree77a0187e5ca929e310cee5419e60acc7a8fd8670 /src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H
parent114eb0df447d8f7c55df9b225ce56c469c52cc60 (diff)
downloadtalos-sbe-4191b61e176a2ec16ddb8c0d4dc0c34bdc19eca4.tar.gz
talos-sbe-4191b61e176a2ec16ddb8c0d4dc0c34bdc19eca4.zip
p9_sbe_lpc_init: Improve reset
The sequence to switch the LPC HC clock onto the nest clock temporarily was incorrect as it used the TP CPLT_CTRL0 register inasted of N3, so it never really switched the clocks during reset. Also, for good measure, keep the clock switched to the nest clock while we're resetting the LPC bus. (Bonus change: Decrease the sim delay cycles waiting for a command to complete.) Change-Id: I5e77fa056204639a96aad9c1eec4b7bc76d8e54b CQ: SW439536 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63279 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: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63286 Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H b/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H
index f7e7173c..eee60806 100644
--- a/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_lpc_utils.H
@@ -30,7 +30,7 @@
#define P9_LPC_UTILS_H_
const uint32_t LPC_CMD_TIMEOUT_DELAY_NS = 1000000;
-const uint32_t LPC_CMD_TIMEOUT_DELAY_CYCLE = 80000000;
+const uint32_t LPC_CMD_TIMEOUT_DELAY_CYCLE = 1000000;
const uint32_t LPC_CMD_TIMEOUT_COUNT = 20;
static fapi2::ReturnCode lpc_rw(
OpenPOWER on IntegriCloud