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 fb4239866c6a9aa429b58be7488a93ec1245597b (commit)
from 924bf27596f31ab8e79fbb4de702be4a9fa12874 (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 fb4239866c6a9aa429b58be7488a93ec1245597b
Author: David Brownell <dbr...@us...>
Date: Tue Jan 19 13:56:33 2010 -0800
NOR: fix diagnostic
The "NOR: last_addr also needs correction when checking alignment"
patch omitted a necessary update to the key diagnostic; fix.
Signed-off-by: David Brownell <dbr...@us...>
diff --git a/src/flash/nor/core.c b/src/flash/nor/core.c
index 277da38..2c61519 100644
--- a/src/flash/nor/core.c
+++ b/src/flash/nor/core.c
@@ -408,7 +408,7 @@ static int flash_iterate_address_range(struct target *target,
LOG_ERROR("address range 0x%8.8x .. 0x%8.8x "
"is not sector-aligned",
(unsigned) (c->base + addr),
- (unsigned) (last_addr - 1));
+ (unsigned) (c->base + last_addr - 1));
return ERROR_FLASH_DST_BREAKS_ALIGNMENT;
}
-----------------------------------------------------------------------
Summary of changes:
src/flash/nor/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Main OpenOCD repository
|