FreeCalypso > hg > freecalypso-sw
diff loadtools/sertool.c @ 379:7b3fd0e2a352
loadtools: compalstage support implemented in fc-iram
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 09 Jun 2014 21:07:39 +0000 |
parents | ccc5161848c7 |
children |
line wrap: on
line diff
--- a/loadtools/sertool.c Mon Jun 09 06:10:01 2014 +0000 +++ b/loadtools/sertool.c Mon Jun 09 21:07:39 2014 +0000 @@ -23,11 +23,17 @@ extern int optind; int c; - while ((c = getopt(argc, argv, "b:h:H:i:n")) != EOF) + while ((c = getopt(argc, argv, "b:c:C:h:H:i:n")) != EOF) switch (c) { case 'b': set_romload_baudrate(optarg); continue; + case 'c': + set_compalstage_short(optarg); + continue; + case 'C': + set_compalstage_fullpath(optarg); + continue; case 'h': read_hwparam_file_shortname(optarg); continue; @@ -52,6 +58,7 @@ iramimage.filename = argv[optind+1]; open_target_serial(); + perform_compal_stage(1); perform_romload(); tty_passthru(); exit(0);