From: Tomas Vanek Date: Sat, 20 Nov 2021 10:50:48 +0000 (+0100) Subject: flash/nor/kinetis_ke: add .help fields for tcl commands X-Git-Tag: v0.12.0-rc1~382 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=55da5b47cba1de8e99bda8d71c721da24d1bf1d4 flash/nor/kinetis_ke: add .help fields for tcl commands Add help texts from similar driver kinetis.c While on it fix one existing help: the flash is obviously not NAND Change-Id: Ibd295105586b008aaabf2fb4e4a75bf551266e38 Signed-off-by: Tomas Vanek Reviewed-on: https://review.openocd.org/c/openocd/+/6727 Tested-by: jenkins Reviewed-by: Antonio Borneo --- diff --git a/src/flash/nor/kinetis_ke.c b/src/flash/nor/kinetis_ke.c index dc3b37ecb1..225dc6f075 100644 --- a/src/flash/nor/kinetis_ke.c +++ b/src/flash/nor/kinetis_ke.c @@ -1241,14 +1241,14 @@ static const struct command_registration kinetis_ke_security_command_handlers[] { .name = "check_security", .mode = COMMAND_EXEC, - .help = "", + .help = "Check status of device security lock", .usage = "", .handler = kinetis_ke_check_flash_security_status, }, { .name = "mass_erase", .mode = COMMAND_EXEC, - .help = "", + .help = "Issue a complete flash erase via the MDM-AP", .usage = "", .handler = kinetis_ke_mdm_mass_erase, }, @@ -1266,7 +1266,7 @@ static const struct command_registration kinetis_ke_exec_command_handlers[] = { { .name = "mdm", .mode = COMMAND_ANY, - .help = "", + .help = "MDM-AP command group", .usage = "", .chain = kinetis_ke_security_command_handlers, }, @@ -1284,7 +1284,7 @@ static const struct command_registration kinetis_ke_command_handler[] = { { .name = "kinetis_ke", .mode = COMMAND_ANY, - .help = "Kinetis KE NAND flash controller commands", + .help = "Kinetis KE flash controller commands", .usage = "", .chain = kinetis_ke_exec_command_handlers, },