From: Øyvind Harboe Date: Mon, 30 Nov 2009 07:43:49 +0000 (+0100) Subject: zy1000: keep up with changes to command structure X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2264270fe49a447e6f06ec4069a816cc86c3cf0b;p=fw%2Fopenocd zy1000: keep up with changes to command structure 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 --- diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c index aeaa914b7..115b3be11 100644 --- a/src/jtag/zy1000/zy1000.c +++ b/src/jtag/zy1000/zy1000.c @@ -803,6 +803,7 @@ static const struct command_registration zy1000_commands[] = { .help = "writes firmware to flash", }, #endif + COMMAND_REGISTRATION_DONE };