diff loadtools/flmain.c @ 977:511e2b85c115

fc-loadtool: implement flash lock-state command
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 01 Dec 2023 07:51:01 +0000
parents cf7bd5e705ed
children f21798eb13cf
line wrap: on
line diff
--- a/loadtools/flmain.c	Fri Dec 01 06:43:21 2023 +0000
+++ b/loadtools/flmain.c	Fri Dec 01 07:51:01 2023 +0000
@@ -96,6 +96,7 @@
 extern int flashcmd_dump2file();
 extern int flashcmd_erase();
 extern int flashcmd_erase_program_boot();
+extern int flashcmd_lock_state();
 extern int flashcmd_progbin_wrap();
 extern int flashcmd_program_m0();
 extern int flashcmd_program_srec();
@@ -123,6 +124,7 @@
 	{"help", flashcmd_help},
 	{"id", flashcmd_id},
 	{"info", flashcmd_info},
+	{"lock-state", flashcmd_lock_state},
 	{"program-bin", flashcmd_progbin_wrap},
 	{"program-m0", flashcmd_program_m0},
 	{"program-srec", flashcmd_program_srec},