FreeCalypso > hg > freecalypso-sw
changeset 381:837ba1b47478
fc-xram: compalstage support hooked in
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 09 Jun 2014 21:31:47 +0000 |
parents | 5e0e9bb26060 |
children | a2210b0361c1 |
files | loadtools/clmain.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/loadtools/clmain.c Mon Jun 09 21:20:10 2014 +0000 +++ b/loadtools/clmain.c Mon Jun 09 21:31:47 2014 +0000 @@ -37,7 +37,7 @@ int c; struct baudrate *br; - while ((c = getopt(argc, argv, "+a:b:B:h:H:i:nr:")) != EOF) + while ((c = getopt(argc, argv, "+a:b:B:c:C:h:H:i:nr:")) != EOF) switch (c) { case 'a': iramimage.filename = optarg; @@ -51,6 +51,12 @@ exit(1); /* error msg already printed */ xram_load_baudrate = br; continue; + case 'c': + set_compalstage_short(optarg); + continue; + case 'C': + set_compalstage_fullpath(optarg); + continue; case 'h': read_hwparam_file_shortname(optarg); continue; @@ -87,6 +93,7 @@ } open_target_serial(); + perform_compal_stage(1); perform_romload(); /* loadagent should be running now */ if (tpinterf_pass_output(1) < 0)