Commit 3dafead3 authored by Chris Wilson's avatar Chris Wilson 🤔

dump-decode: allow specification of devid, i.e. gen

Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent a3a78632
......@@ -63,8 +63,13 @@ main (int argc, char *argv[])
uint32_t devid = 0xa011;
int i;
for (i = 1; i < argc; i++)
for (i = 1; i < argc; i++) {
if (strncmp (argv[i], "--devid=", 8) == 0) {
devid = atoi(argv[i] + 8);
continue;
}
read_bin_file (devid, argv[i]);
}
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment