From: Zach W. <zw...@us...> - 2009-11-19 16:01:48
|
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 c049033fde1592e1bfa922641034c1ab136e0b47 (commit) from 195ce5eb273983dbeabeea41cc18b77e4f30ab41 (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 c049033fde1592e1bfa922641034c1ab136e0b47 Author: Dean Glazeski <dn...@gm...> Date: Wed Nov 18 23:22:25 2009 -0600 nand_fileio_parse_args parses wrong param for size This changes the size parameter from argv[2] to argv[3], which is what it's supposed to be. Signed-off-by: Zachary T Welch <zw...@su...> diff --git a/src/flash/nand.c b/src/flash/nand.c index 23caed0..53b6531 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -1406,7 +1406,7 @@ static COMMAND_HELPER(nand_fileio_parse_args, struct nand_fileio_state *state, COMMAND_PARSE_NUMBER(u32, CMD_ARGV[2], state->address); if (need_size) { - COMMAND_PARSE_NUMBER(u32, CMD_ARGV[2], state->size); + COMMAND_PARSE_NUMBER(u32, CMD_ARGV[3], state->size); if (state->size % nand->page_size) { command_print(CMD_CTX, "only page-aligned sizes are supported"); ----------------------------------------------------------------------- Summary of changes: src/flash/nand.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- Main OpenOCD repository |