comparison 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
comparison
equal deleted inserted replaced
976:ff4ce8d5ece4 977:511e2b85c115
94 extern int flashcmd_blankchk(); 94 extern int flashcmd_blankchk();
95 extern int flashcmd_compal_imei(); 95 extern int flashcmd_compal_imei();
96 extern int flashcmd_dump2file(); 96 extern int flashcmd_dump2file();
97 extern int flashcmd_erase(); 97 extern int flashcmd_erase();
98 extern int flashcmd_erase_program_boot(); 98 extern int flashcmd_erase_program_boot();
99 extern int flashcmd_lock_state();
99 extern int flashcmd_progbin_wrap(); 100 extern int flashcmd_progbin_wrap();
100 extern int flashcmd_program_m0(); 101 extern int flashcmd_program_m0();
101 extern int flashcmd_program_srec(); 102 extern int flashcmd_program_srec();
102 extern int flashcmd_protreg(); 103 extern int flashcmd_protreg();
103 extern int flashcmd_quickprog(); 104 extern int flashcmd_quickprog();
121 {"e-program-srec", flashcmd_program_srec}, 122 {"e-program-srec", flashcmd_program_srec},
122 {"geom", flashcmd_geom}, 123 {"geom", flashcmd_geom},
123 {"help", flashcmd_help}, 124 {"help", flashcmd_help},
124 {"id", flashcmd_id}, 125 {"id", flashcmd_id},
125 {"info", flashcmd_info}, 126 {"info", flashcmd_info},
127 {"lock-state", flashcmd_lock_state},
126 {"program-bin", flashcmd_progbin_wrap}, 128 {"program-bin", flashcmd_progbin_wrap},
127 {"program-m0", flashcmd_program_m0}, 129 {"program-m0", flashcmd_program_m0},
128 {"program-srec", flashcmd_program_srec}, 130 {"program-srec", flashcmd_program_srec},
129 {"prot-reg", flashcmd_protreg}, 131 {"prot-reg", flashcmd_protreg},
130 {"quickprog", flashcmd_quickprog}, 132 {"quickprog", flashcmd_quickprog},