diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 20:11:25 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 20:11:25 +0200 |
commit | 5dc162bc4a71321bd0fcec8db96ec89b88a60ed3 (patch) | |
tree | 19e6215fa4e25426f59f429ce17809680e0364e1 /src | |
parent | 564b0715f1c08b08f48777934a28d1462b10c255 (diff) | |
download | 0xFFFF-5dc162bc4a71321bd0fcec8db96ec89b88a60ed3.tar.bz2 |
Delete old check_nolo_order code
Diffstat (limited to 'src')
-rw-r--r-- | src/flash.c | 8 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/main.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/flash.c b/src/flash.c index e1f4f7b..a201a81 100644 --- a/src/flash.c +++ b/src/flash.c @@ -23,12 +23,12 @@ #include <string.h> #include <stdlib.h> -void check_nolo_order_failed() +/*void check_nolo_order_failed() { fprintf(stderr, "\nERROR: Provide xloader before the secondary. NOLO disagrees anything else.\n"); fprintf(stderr, "Use: -p xloader.bin -p secondary.bin\n"); exit(1); -} +}*/ void query_error_message() { @@ -50,7 +50,7 @@ void query_error_message() } } -void check_nolo_order() +/*void check_nolo_order() { int i, xlo = 0; @@ -71,7 +71,7 @@ void check_nolo_order() if (xlo && xlo != 0x11) check_nolo_order_failed(); -} +}*/ void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version) { @@ -567,7 +567,7 @@ int main(int argc, char **argv) if (pcs_n) { char version[64]; - check_nolo_order(); +// check_nolo_order(); get_sw_version(); get_hw_revision(version, 44); if (subverstr == NULL) { @@ -16,7 +16,7 @@ int queue_mode(); int reverse_extract_pieces(char *dir); void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version); int fiasco_read_image(char *file); -void check_nolo_order(); +//void check_nolo_order(); extern struct usb_dev_handle *dev; unsigned long get_file_size(const char *file); void progressbar(unsigned long long part, unsigned long long total); |