diff options
author | Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> | 2015-11-04 12:41:33 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-17 17:08:51 +1100 |
commit | d3bef50c25dd0d1719c2c22bb7258ce325474362 (patch) | |
tree | 754f710b20825cf4c346aebcf8e7faf502bfdc2a | |
parent | 524031fab3af2aec916a92c88d66ff94f66cf570 (diff) | |
download | skiboot-d3bef50c25dd0d1719c2c22bb7258ce325474362.zip skiboot-d3bef50c25dd0d1719c2c22bb7258ce325474362.tar.gz skiboot-d3bef50c25dd0d1719c2c22bb7258ce325474362.tar.bz2 |
slw: Remove overwrites for EX_PM_CORE_ECO_VRET and EX_PM_CORE_PFET_VRET
Remove code where we overwrite EX_PM_CORE_ECO_VRET and EX_PM_CORE_PFET_VRET
since they are being initialized in hostboot code.
Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | hw/slw.c | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -217,23 +217,6 @@ static bool slw_general_init(struct proc_chip *chip, struct cpu_thread *c) prlog(PR_TRACE, "SLW: PMGP0 read 0x%016llx\n", tmp); - - /* Set CORE and ECO PFET Vret to select zero */ - rc = xscom_write(chip->id, - XSCOM_ADDR_P8_EX_SLAVE(core, EX_PM_CORE_PFET_VRET), 0); - if (rc) { - log_simple_error(&e_info(OPAL_RC_SLW_INIT), - "SLW: Failed to write PM_CORE_PFET_VRET\n"); - return false; - } - rc = xscom_write(chip->id, - XSCOM_ADDR_P8_EX_SLAVE(core, EX_PM_CORE_ECO_VRET), 0); - if (rc) { - log_simple_error(&e_info(OPAL_RC_SLW_INIT), - "SLW: Failed to write PM_CORE_ECO_VRET\n"); - return false; - } - return true; } |