changeset 51:aa62352647f7

loadtools: -b option works in fc-loadtool
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 23 Jun 2013 03:38:09 +0000
parents f1df95eed62c
children b015036286f3
files loadtools/ltmain.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loadtools/ltmain.c	Sun Jun 23 03:32:04 2013 +0000
+++ b/loadtools/ltmain.c	Sun Jun 23 03:38:09 2013 +0000
@@ -23,11 +23,14 @@
 	int c;
 	char command[512];
 
-	while ((c = getopt(argc, argv, "a:h:H:i:")) != EOF)
+	while ((c = getopt(argc, argv, "a:b:h:H:i:")) != EOF)
 		switch (c) {
 		case 'a':
 			iramimage.filename = optarg;
 			continue;
+		case 'b':
+			set_romload_baudrate(optarg);
+			continue;
 		case 'h':
 			read_hwparam_file_shortname(optarg);
 			continue;