aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2015-03-11 15:59:11 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-26 11:12:18 +1100
commit26103de5e42d9d9c699b08568267c5c0701beffe (patch)
treee43705c8c9a7d3eee13ad5526289e21df95229d7 /hw
parent532ce3c40d1c4df00b8dde70ae79bd6016e284e3 (diff)
downloadskiboot-26103de5e42d9d9c699b08568267c5c0701beffe.zip
skiboot-26103de5e42d9d9c699b08568267c5c0701beffe.tar.gz
skiboot-26103de5e42d9d9c699b08568267c5c0701beffe.tar.bz2
Revert "opal: Handle more TFAC errors."
This reverts commit 699c433a8c736f44b13b7ba28cc0f9e0ac55840c. The rest of the patches in this series refactors the code that reset TB errors for better handling/recovery of individual TB errors. Hence Reverting old patch that claimed to handle more TFAC errors, but did not. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/chiptod.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/chiptod.c b/hw/chiptod.c
index 49b84e7..edf805d 100644
--- a/hw/chiptod.c
+++ b/hw/chiptod.c
@@ -311,8 +311,6 @@ static bool chiptod_reset_tb_errors(void)
tfmr |= SPR_TFMR_TB_MISSING_SYNC;
tfmr |= SPR_TFMR_TB_MISSING_STEP;
tfmr |= SPR_TFMR_TB_RESIDUE_ERR;
- tfmr |= SPR_TFMR_FW_CONTROL_ERR;
- tfmr |= SPR_TFMR_CHIP_TOD_PARITY_ERR;
mtspr(SPR_TFMR, tfmr);
/* We have to write "Clear TB Errors" again */
@@ -667,9 +665,6 @@ int chiptod_recover_tb_errors(void)
* clear it.
*/
if ((tfmr & SPR_TFMR_TB_MISSING_STEP) ||
- (tfmr & SPR_TFMR_TB_RESIDUE_ERR) ||
- (tfmr & SPR_TFMR_FW_CONTROL_ERR) ||
- (tfmr & SPR_TFMR_CHIP_TOD_PARITY_ERR) ||
(tfmr & SPR_TFMR_TB_MISSING_SYNC)) {
if (!chiptod_reset_tb_errors()) {
rc = 0;