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:
Mike Dunn 2010-03-11 16:53:05 -08:00 committed by David Brownell
parent 03a26d31e9
commit 763013f15e
1 changed files with 3 additions and 3 deletions

View File

@ -3197,9 +3197,9 @@ COMMAND_HANDLER(xscale_handle_idcache_command)
return ERROR_OK; return ERROR_OK;
} }
bool icache; bool icache = false;
COMMAND_PARSE_BOOL(CMD_NAME, icache, "icache", "dcache"); if (strcmp(CMD_NAME, "icache") == 0)
icache = true;
if (CMD_ARGC >= 1) if (CMD_ARGC >= 1)
{ {
bool enable; bool enable;