Browse Source

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>
tags/v0.5.0-rc1
Mike Dunn 14 years ago
committed by David Brownell
parent
commit
763013f15e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/target/xscale.c

+ 3
- 3
src/target/xscale.c View File

@@ -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…
Cancel
Save