diff options
Diffstat (limited to 'src/target/arm926ejs.c')
-rw-r--r-- | src/target/arm926ejs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index 89fbfae3..b62bc493 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -477,7 +477,7 @@ void arm926ejs_pre_restore_context(target_t *target) /* read-modify-write CP15 cache debug control register * to reenable I/D-cache linefills and disable WT */ arm926ejs_read_cp15(target, ARM926EJS_CP15_ADDR(7, 0, 15, 0), &cache_dbg_ctrl); - cache_dbg_ctrl |= 0x7; + cache_dbg_ctrl &= ~0x7; arm926ejs_write_cp15(target, ARM926EJS_CP15_ADDR(7, 0, 15, 0), cache_dbg_ctrl); } |