changeset 664:77a0001d8849

fc-loadtool: prep for binary flash programming
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 17:58:49 +0000
parents 46d7ed4ee634
children b43d8c2725b9
files loadtools/flash.h loadtools/flashops.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loadtools/flash.h	Fri Mar 06 01:55:40 2020 +0000
+++ b/loadtools/flash.h	Sat Mar 07 17:58:49 2020 +0000
@@ -60,6 +60,7 @@
 	int	(*prep_for_program)();
 	char	*loadagent_setbase_cmd;
 	char	*loadagent_program_cmd;
+	char	*loadagent_binmode_cmd;
 	int	needs_unlock;
 };
 
--- a/loadtools/flashops.c	Fri Mar 06 01:55:40 2020 +0000
+++ b/loadtools/flashops.c	Sat Mar 07 17:58:49 2020 +0000
@@ -92,6 +92,7 @@
 	.prep_for_program	= noop,
 	.loadagent_setbase_cmd	= "AMFB",
 	.loadagent_program_cmd	= "AMFW",
+	.loadagent_binmode_cmd	= "AMFWB",
 	.needs_unlock		= 0,
 };
 
@@ -270,6 +271,7 @@
 	.prep_for_program	= intel_clear_sr,
 	.loadagent_setbase_cmd	= "INFB",
 	.loadagent_program_cmd	= "INFW",
+	.loadagent_binmode_cmd	= "INFWB",
 	.needs_unlock		= 1,
 };
 
@@ -282,5 +284,6 @@
 	.prep_for_program	= intel_w30_clear_sr,
 	.loadagent_setbase_cmd	= "INFB",
 	.loadagent_program_cmd	= "INFW",
+	.loadagent_binmode_cmd	= "INFWB",
 	.needs_unlock		= 1,
 };