]> git.sur5r.net Git - openocd/commit
refactor handle_nand_device_command
authorZachary T Welch <zw@superlucidity.net>
Tue, 17 Nov 2009 23:14:03 +0000 (15:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 19 Nov 2009 21:39:41 +0000 (13:39 -0800)
commit59d4466b551e89077e41b0dba21c7a95db9c7b0a
treecd797e363bc5dfd61752d40b80a03002f85569ef
parent2dfa5e9c844a5a3f8aaca146c874f13570b8f667
refactor handle_nand_device_command

Move bulk of for-loop to a new static command helper function.

Adds handle_nand_list_drivers command handler, registered as
'nand drivers'.

Improves command help text and error reporting.
src/flash/nand.c