mw_debug: Default to jtag backend if unspecified

It avoids typing it all the time

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
pull/331/head
Benjamin Herrenschmidt 3 years ago
parent 4bdfef9a20
commit b557ec3a05

@ -744,10 +744,8 @@ int main(int argc, char *argv[])
} }
} }


if (b == NULL) { if (b == NULL)
fprintf(stderr, "No backend selected\n"); b = &jtag_backend;
exit(1);
}


rc = b->init(target); rc = b->init(target);
if (rc < 0) if (rc < 0)

Loading…
Cancel
Save