From: Øyvind H. <go...@us...> - 2010-04-28 08:45:24
|
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 49b7905cae66ee9e011c71aff758fafba823f87f (commit) from 56a21c9cb1e4785e2ca3aac16c7a6bb17874d9aa (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 49b7905cae66ee9e011c71aff758fafba823f87f Author: Ãyvind Harboe <oyv...@zy...> Date: Wed Apr 28 08:01:28 2010 +0200 nor: remove bogus output about padding sections padding of 0 bytes is actually no padding, do not output warning about padding in that case. Signed-off-by: Ãyvind Harboe <oyv...@zy...> diff --git a/src/flash/nor/core.c b/src/flash/nor/core.c index 15e460a..b8dda96 100644 --- a/src/flash/nor/core.c +++ b/src/flash/nor/core.c @@ -611,7 +611,8 @@ int flash_write_unlock(struct target *target, struct image *image, run_size += image->sections[++section_last].size; run_size += pad_bytes; - LOG_INFO("Padding image section %d with %d bytes", section_last-1, pad_bytes); + if (pad_bytes > 0) + LOG_INFO("Padding image section %d with %d bytes", section_last-1, pad_bytes); } /* fit the run into bank constraints */ ----------------------------------------------------------------------- Summary of changes: src/flash/nor/core.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Main OpenOCD repository |