Changeset 351 for trunk/flashrom.c
- Timestamp:
- Nov 28, 2008 10:36:51 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/flashrom.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/flashrom.c
r326 r351 464 464 exit(1); 465 465 } 466 printf("Force reading flash... ");466 printf("Force reading flash... "); 467 467 if (!flashes[0]->read) 468 468 memcpy(buf, (const char *)flashes[0]->virtual_memory, size); … … 477 477 fwrite(buf, sizeof(char), size, image); 478 478 fclose(image); 479 printf("done \n");479 printf("done.\n"); 480 480 free(buf); 481 481 exit(0); … … 534 534 535 535 if (erase_it) { 536 printf("Erasing flash chip. \n");536 printf("Erasing flash chip... "); 537 537 if (!flash->erase) { 538 538 fprintf(stderr, "Error: flashrom has no erase function for this flash chip.\n"); … … 540 540 } 541 541 flash->erase(flash); 542 printf("done.\n"); 542 543 exit(0); 543 544 } else if (read_it) { … … 546 547 exit(1); 547 548 } 548 printf("Reading Flash...");549 printf("Reading flash... "); 549 550 if (flash->read == NULL) 550 551 memcpy(buf, (const char *)flash->virtual_memory, size); … … 558 559 fwrite(buf, sizeof(char), size, image); 559 560 fclose(image); 560 printf("done \n");561 printf("done.\n"); 561 562 } else { 562 563 struct stat image_stat;
Note: See TracChangeset
for help on using the changeset viewer.
