Prepair flash_image for specifing device and hw revisions

This commit is contained in:
Pali Rohár committed 2012-06-23 13:05:46 +02:00
1 parent 1ddf269c69
commit b1cfc3181b
4 files changed
+8 -6

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ void process_message(char *msg)
const char *type = fpid_file(arg);
if (type == NULL) {
squeue_push2(p, "error", "Unknown piece format", 1);
} else flash_image(arg, type, NULL);
} else flash_image(arg, type, NULL, NULL, NULL);
} else
if (!strcmp(str, "reset")) {
if (reboot_board() == 0) {