]> git.sur5r.net Git - openocd/commit
nand_command_get_device_by_num: make COMMAND_HELPER
authorZachary T Welch <zw@superlucidity.net>
Sun, 15 Nov 2009 15:20:19 +0000 (07:20 -0800)
committerZachary T Welch <zw@superlucidity.net>
Mon, 16 Nov 2009 16:44:38 +0000 (08:44 -0800)
commitcbc05783727122f0052fe6f3be40635eb73ec5bc
tree1dcfa6c84e9b7c5ecc679536a37d4bf4007eec88
parente84849f5ed7416c758914bea88a31827259c4f5b
nand_command_get_device_by_num: make COMMAND_HELPER

Use COMMAND_HELPER macro to define nand_command_get_device_by_num.
Use CALL_COMMAND_HANDLER to invoke it.
src/flash/nand.c
src/flash/nand.h