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 <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6727
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Tomas Vanek 2021-11-20 11:50:48 +01:00 committed by Antonio Borneo
parent af723387be
commit 55da5b47cb
1 changed files with 4 additions and 4 deletions

View File

@ -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,
},