logger: Add option to disable firmware compatibility check
It may be needed for situation when user have firmware after
small fixes without updated ldc file or fw_ready file is not
accessible. Option dedicated for advanced users.
Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
diff --git a/tools/logger/logger.c b/tools/logger/logger.c
index bbd7baa..4ddf9cb 100644
--- a/tools/logger/logger.c
+++ b/tools/logger/logger.c
@@ -41,6 +41,8 @@
fprintf(stdout, "%s:\t -p \t\t\tInput from stdin\n", APP_NAME);
fprintf(stdout, "%s:\t -v ver_file\t\tEnable checking firmware version "
"with ver_file file\n", APP_NAME);
+ fprintf(stdout, "%s:\t -n\t\t\tDisable checking firmware version\n",
+ APP_NAME);
fprintf(stdout, "%s:\t -c clock\t\tSet timestamp clock in MHz\n",
APP_NAME);
fprintf(stdout, "%s:\t -s state_name\t\tTake a snapshot of state\n",
@@ -159,7 +161,7 @@
int main(int argc, char *argv[])
{
- static const char optstring[] = "ho:i:l:ps:c:u:tv:rd:Lf:gF";
+ static const char optstring[] = "ho:i:l:ps:c:u:tv:rd:Lf:gFn";
struct convert_config config;
unsigned int baud = 0;
const char *snapshot_file = 0;
@@ -223,6 +225,9 @@
/* enabling checking fw version with ver_file file */
config.version_file = optarg;
break;
+ case 'n':
+ config.version_fw = 0;
+ break;
case 'L':
config.hide_location = 1;
break;