On Fri, 2009-05-29 at 12:51 -0700, David Brownell wrote:
> Make it so the magic "reset_config" keywords can be provided in any
> order.  This eliminates needless error paths, and makes it easier
> to define things at the right level (adapter, board, target).
> It also includes two other behavioral changes:
> 
>   (1)   When "handle_reset_config" sees a parameter error, it
>         exits without changing anything.   This is best viewed
>         as a bugfix.  (Old behavior:  restore defaults, even if
>         they weren't previously active.)
> 
>   (2)   Only the behaviors that were explicitly specified get
>         changed.  (Old behavior:  everything else gets reset to
>         the "default".)  So for example you can now specify SRST
>         drive requirements without saying anything about the
>         three unrelated topics you previously had to specify.
> 
> That second one might cause confusion for any configs that end
> up calling "reset_config" twice, so it will deserve to be called
> out in the release notes.  (There were no such configurations in
> the current OpenOCD source tree.)
> 
> Update docs accordingly.  Note that at least some versions of
> the texi-to-html tools can't handle "@xref{with spaces}", but
> those work properly in PDF and in the info files.
> ---
> This is the updated version of the patch I sent before.
> Sanity tested.
> 
>  doc/openocd.texi |   75 +++++++++++++++++++++-------
>  src/jtag/jtag.c  |  140 ++++++++++++++++++++++++++++++++---------------------
>  2 files changed, 144 insertions(+), 71 deletions(-)

Committed, r1944.

--Z

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to