diff loadtools/hwparam.c @ 55:278052b6afda

loadtools: started laying the foundation for flash support
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 23 Jun 2013 20:13:59 +0000
parents 768a3d012931
children a2210b0361c1
line wrap: on
line diff
--- a/loadtools/hwparam.c	Sun Jun 23 05:47:17 2013 +0000
+++ b/loadtools/hwparam.c	Sun Jun 23 20:13:59 2013 +0000
@@ -13,6 +13,7 @@
 extern char default_helpers_dir[];
 
 extern void set_default_exit_mode();
+extern void set_flash_device();
 
 char hw_init_script[128];
 
@@ -107,6 +108,7 @@
 	void (*func)();
 } cmdtab[] = {
 	{"exit-mode", set_default_exit_mode},
+	{"flash", set_flash_device},
 	{"init-script", handle_init_script},
 	{"pll-config", handle_pll_config},
 	{"rhea-cntl", handle_rhea_cntl},