From: David B. <dbr...@us...> - 2010-03-12 01:58:13
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 763013f15e348d760e193da807c5bd79437ab8c7 (commit) from 03a26d31e991976ff978c8c9b245210f116f6ece (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 763013f15e348d760e193da807c5bd79437ab8c7 Author: Mike Dunn <mik...@ne...> Date: Thu Mar 11 16:53:05 2010 -0800 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. [ dbr...@us...: don't use strcasecmp ] Signed-off-by: David Brownell <dbr...@us...> diff --git a/src/target/xscale.c b/src/target/xscale.c index 602034e..50c9595 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; ----------------------------------------------------------------------- Summary of changes: src/target/xscale.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- Main OpenOCD repository |