changeset 413:1ed2d78f150c

loadtools: boot-reflash-hack hwparam setting hooked in
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 17 Jun 2014 05:11:25 +0000
parents bf49e348576b
children a2df77833c21
files loadtools/hwparam.c loadtools/hwparamstubs.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loadtools/hwparam.c	Tue Jun 17 05:07:17 2014 +0000
+++ b/loadtools/hwparam.c	Tue Jun 17 05:11:25 2014 +0000
@@ -12,6 +12,7 @@
 
 extern char default_helpers_dir[];
 
+extern void set_boot_reflash_hack();
 extern void set_default_exit_mode();
 extern void set_flash_device();
 
@@ -129,6 +130,7 @@
 	char *name;
 	void (*func)();
 } cmdtab[] = {
+	{"boot-reflash-hack", set_boot_reflash_hack},
 	{"compal-stage", handle_compal_stage},
 	{"exit-mode", set_default_exit_mode},
 	{"flash", set_flash_device},
--- a/loadtools/hwparamstubs.c	Tue Jun 17 05:07:17 2014 +0000
+++ b/loadtools/hwparamstubs.c	Tue Jun 17 05:11:25 2014 +0000
@@ -14,3 +14,8 @@
 set_flash_device()
 {
 }
+
+void
+set_boot_reflash_hack()
+{
+}