FreeCalypso > hg > freecalypso-sw
comparison loadtools/hwparam.c @ 413:1ed2d78f150c
loadtools: boot-reflash-hack hwparam setting hooked in
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 17 Jun 2014 05:11:25 +0000 |
parents | a2210b0361c1 |
children |
comparison
equal
deleted
inserted
replaced
412:bf49e348576b | 413:1ed2d78f150c |
---|---|
10 #include <strings.h> | 10 #include <strings.h> |
11 #include <stdlib.h> | 11 #include <stdlib.h> |
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_default_exit_mode(); | 16 extern void set_default_exit_mode(); |
16 extern void set_flash_device(); | 17 extern void set_flash_device(); |
17 | 18 |
18 char hw_init_script[128]; | 19 char hw_init_script[128]; |
19 | 20 |
127 | 128 |
128 static struct cmdtab { | 129 static struct cmdtab { |
129 char *name; | 130 char *name; |
130 void (*func)(); | 131 void (*func)(); |
131 } cmdtab[] = { | 132 } cmdtab[] = { |
133 {"boot-reflash-hack", set_boot_reflash_hack}, | |
132 {"compal-stage", handle_compal_stage}, | 134 {"compal-stage", handle_compal_stage}, |
133 {"exit-mode", set_default_exit_mode}, | 135 {"exit-mode", set_default_exit_mode}, |
134 {"flash", set_flash_device}, | 136 {"flash", set_flash_device}, |
135 {"init-script", handle_init_script}, | 137 {"init-script", handle_init_script}, |
136 {"pll-config", handle_pll_config}, | 138 {"pll-config", handle_pll_config}, |