diff loadtools/flmain.c @ 711:44cdfc4fed4c

fc-loadtool: flash prot-reg command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Jun 2020 06:46:21 +0000
parents f67e5ad30324
children cf7bd5e705ed
line wrap: on
line diff
--- a/loadtools/flmain.c	Sat May 23 03:39:48 2020 +0000
+++ b/loadtools/flmain.c	Fri Jun 05 06:46:21 2020 +0000
@@ -98,6 +98,7 @@
 extern int flashcmd_progbin_wrap();
 extern int flashcmd_program_m0();
 extern int flashcmd_program_srec();
+extern int flashcmd_protreg();
 extern int flashcmd_quickprog();
 extern int flashcmd_reset();
 extern int flashcmd_sectors();
@@ -123,6 +124,7 @@
 	{"program-bin", flashcmd_progbin_wrap},
 	{"program-m0", flashcmd_program_m0},
 	{"program-srec", flashcmd_program_srec},
+	{"prot-reg", flashcmd_protreg},
 	{"quickprog", flashcmd_quickprog},
 	{"reset", flashcmd_reset},
 	{"sectors", flashcmd_sectors},