mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-26 03:51:22 +00:00
mw_debug: Default to jtag backend if unspecified
It avoids typing it all the time Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
@@ -744,10 +744,8 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
if (b == NULL) {
|
||||
fprintf(stderr, "No backend selected\n");
|
||||
exit(1);
|
||||
}
|
||||
if (b == NULL)
|
||||
b = &jtag_backend;
|
||||
|
||||
rc = b->init(target);
|
||||
if (rc < 0)
|
||||
|
||||
Reference in New Issue
Block a user