]> git.sur5r.net Git - openocd/commitdiff
zy1000: keep up with changes to command structure
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 30 Nov 2009 07:43:49 +0000 (08:43 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 30 Nov 2009 07:54:52 +0000 (08:54 +0100)
Add missing COMMAND_REGISTRATION_DONE.

For now the command syntax for zy1000 needs to be compatible
across 0.3/0.4, the world outside OpenOCD interfaces to
zy1000 using the old syntax. Post 0.4 release(0.4.1 even)
I'll switch to subcommand scheme.

Switch to subcommands post 0.3 lifecycle.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/zy1000/zy1000.c

index aeaa914b7586fe4d94c271b93eb0f84e864f3ff7..115b3be117c8ea17f5d12c54657d4ba967d86917 100644 (file)
@@ -803,6 +803,7 @@ static const struct command_registration zy1000_commands[] = {
                .help = "writes firmware to flash",
        },
 #endif
+       COMMAND_REGISTRATION_DONE
 };