]> git.sur5r.net Git - openocd/commit
add FLASH_BANK_COMMAND_HANDLER macro
authorZachary T Welch <zw@superlucidity.net>
Tue, 10 Nov 2009 09:39:30 +0000 (01:39 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 18:51:46 +0000 (10:51 -0800)
commit57c5c5f46304a785092874a7dc0f6abc84794cc3
treec84975947ef11a4cb0323394fdd76c78236f8731
parent76868e071306bc83d25b89e57b785fef4637c4c8
add FLASH_BANK_COMMAND_HANDLER macro

The FLASH_BANK_COMMAND_HANDLER provides an extended command handler
using the __COMMAND_HANDLER macro, whereby changing that macro is
sufficient to update flash handlers with the new signature.  It also
enforces uniform style and scope when implementing this handler.
src/flash/flash.h