FreeCalypso > hg > freecalypso-tools
comparison loadtools/hwparam.c @ 506:0dd2c87c1b63
fc-loadtool flash support overhaul
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 28 May 2019 05:12:47 +0000 |
parents | e7502631a0f9 |
children |
comparison
equal
deleted
inserted
replaced
505:7bf0d909c87e | 506:0dd2c87c1b63 |
---|---|
12 | 12 |
13 extern char default_helpers_dir[]; | 13 extern char default_helpers_dir[]; |
14 | 14 |
15 extern void set_boot_reflash_hack(); | 15 extern void set_boot_reflash_hack(); |
16 extern void set_default_exit_mode(); | 16 extern void set_default_exit_mode(); |
17 extern void set_flash_device(); | 17 extern void set_flash_config(); |
18 | 18 |
19 char hw_init_script[128]; | 19 char hw_init_script[128]; |
20 | 20 |
21 static void | 21 static void |
22 handle_compal_stage(arg, filename_for_errs, lineno_for_errs) | 22 handle_compal_stage(arg, filename_for_errs, lineno_for_errs) |
131 void (*func)(); | 131 void (*func)(); |
132 } cmdtab[] = { | 132 } cmdtab[] = { |
133 {"boot-reflash-hack", set_boot_reflash_hack}, | 133 {"boot-reflash-hack", set_boot_reflash_hack}, |
134 {"compal-stage", handle_compal_stage}, | 134 {"compal-stage", handle_compal_stage}, |
135 {"exit-mode", set_default_exit_mode}, | 135 {"exit-mode", set_default_exit_mode}, |
136 {"flash", set_flash_device}, | 136 {"flash", set_flash_config}, |
137 {"init-script", handle_init_script}, | 137 {"init-script", handle_init_script}, |
138 {"pll-config", handle_pll_config}, | 138 {"pll-config", handle_pll_config}, |
139 {"rhea-cntl", handle_rhea_cntl}, | 139 {"rhea-cntl", handle_rhea_cntl}, |
140 {0, 0} | 140 {0, 0} |
141 }; | 141 }; |