diff loadtools/flmain.c @ 409:23ab8fe81764

Intel flash: unlock command implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 17 Jun 2014 03:18:02 +0000
parents 431023033c86
children bf49e348576b
line wrap: on
line diff
--- a/loadtools/flmain.c	Tue Jun 17 01:52:46 2014 +0000
+++ b/loadtools/flmain.c	Tue Jun 17 03:18:02 2014 +0000
@@ -203,6 +203,7 @@
 extern int flashcmd_reset();
 extern int flashcmd_sectors();
 extern int flashcmd_status();
+extern int flashcmd_unlock();
 
 static struct cmdtab {
 	char *cmd;
@@ -221,6 +222,7 @@
 	{"reset", flashcmd_reset},
 	{"sectors", flashcmd_sectors},
 	{"status", flashcmd_status},
+	{"unlock", flashcmd_unlock},
 	{0, 0}
 };