diff options
-rw-r--r-- | src/target/xscale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/xscale.c b/src/target/xscale.c index 602034eb..50c95950 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -3197,9 +3197,9 @@ COMMAND_HANDLER(xscale_handle_idcache_command) return ERROR_OK; } - bool icache; - COMMAND_PARSE_BOOL(CMD_NAME, icache, "icache", "dcache"); - + bool icache = false; + if (strcmp(CMD_NAME, "icache") == 0) + icache = true; if (CMD_ARGC >= 1) { bool enable; |