summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ichspi.c')
-rw-r--r--ichspi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ichspi.c b/ichspi.c
index 126ed00..bb6007e 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -560,7 +560,9 @@ static int ich9_run_opcode(OPCODE op, uint32_t offset,
}
/* Assemble SSFS + SSFC */
- temp32 = 0;
+ /* keep reserved bits (23-19,7,0) */
+ temp32 = REGREAD32(ICH9_REG_SSFS);
+ temp32 &= 0xF8008100;
/* clear error status registers */
temp32 |= (SSFS_CDS + SSFS_FCERR);
OpenPOWER on IntegriCloud