fix xscale icache and dcache commands
Simple patch that fixes the broken xscale icache and dcache commands. This broke when the helper functions and macros were changed. [ dbrownell@users.sourceforge.net: don't use strcasecmp ] Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
parent
03a26d31e9
commit
763013f15e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue