]> git.sur5r.net Git - openocd/commit
use COMMAND_PARSE_ENABLE macro where appropriate
authorZachary T Welch <zw@superlucidity.net>
Wed, 18 Nov 2009 13:36:18 +0000 (05:36 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 18 Nov 2009 23:51:07 +0000 (15:51 -0800)
commit410fab9ea8c6632da2e4967d960f66eecc7821ec
tree51f6d5146aa04bc13ea8809963f31d03b71fd3bc
parent75a37eb5b37386768327e9670acfedc7811d529f
use COMMAND_PARSE_ENABLE macro where appropriate

Updates all command parsing of simple "enable" and "disable" arguments.
A few case in the tree use a tri-state or extended arguments, which
cannot use this simple macro.

Simlifies the xscale icache/dcache command handler logic.
src/flash/nand.c
src/jtag/tcl.c
src/server/gdb_server.c
src/target/arm7_9_common.c
src/target/etm.c
src/target/xscale.c