From: Øyvind H. <go...@us...> - 2010-01-20 14:52:27
|
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 ff976cdb29686ae9aa47687c35402c66978956d6 (commit) from 0c3a4b4d818554ea00dc993d31cea9f3e0d1a87d (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 ff976cdb29686ae9aa47687c35402c66978956d6 Author: Ãyvind Harboe <oyv...@zy...> Date: Wed Jan 20 13:04:56 2010 +0100 arm7/9: add nags upon reset about options to improve performance arm7_9 fast_memory_access and working area nags added. Signed-off-by: Ãyvind Harboe <oyv...@zy...> diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index ca1d84f..509e91e 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -2760,6 +2760,16 @@ int arm7_9_check_reset(struct target *target) LOG_WARNING("NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'."); } + if (get_target_reset_nag() && (target->working_area_size == 0)) + { + LOG_WARNING("NOTE! Severe performance degradation without working memory enabled."); + } + + if (get_target_reset_nag() && !arm7_9->fast_memory_access) + { + LOG_WARNING("NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'."); + } + return ERROR_OK; } ----------------------------------------------------------------------- Summary of changes: src/target/arm7_9_common.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) hooks/post-receive -- Main OpenOCD repository |