flash: Rewrite flash_image code to use struct * image

This commit is contained in:
Pali Rohár committed 2012-08-09 20:38:47 +02:00
1 parent 0d76941600
commit 29084d4acf
4 files changed
+29 -21

No files matched your search

+1 -1
View File
@@ -584,7 +584,7 @@ int main(int argc, char **argv)
for(c=0;c<pcs_n;c++) {
printf("Flashing %s (%s)\n", pcs[c].type, pcs[c].name);
flash_image(pcs[c].name, pcs[c].type, pcs[c].device, pcs[c].hwrevs, pcs[c].version);
// flash_image(pcs[c].name, pcs[c].type, pcs[c].device, pcs[c].hwrevs, pcs[c].version);
}
}