Also flush in execute_queue().
This improves CheckMisa time from 3.11s to 2.94s. (Why are both these times slower than in yesterday's commit message? I have no idea. Gremlins in my PC?) Change-Id: I05bd868b8aaf4220dca265bd494dfe889552716f Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
parent
0fa729942a
commit
621e6e43d2
|
@ -352,8 +352,19 @@ static const struct command_registration remote_bitbang_command_handlers[] = {
|
||||||
COMMAND_REGISTRATION_DONE,
|
COMMAND_REGISTRATION_DONE,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static int remote_bitbang_execute_queue(void)
|
||||||
|
{
|
||||||
|
/* process the JTAG command queue */
|
||||||
|
int ret = bitbang_execute_queue();
|
||||||
|
if (ret != ERROR_OK)
|
||||||
|
return ret;
|
||||||
|
|
||||||
|
/* flush not-yet-sent characters, if any */
|
||||||
|
return remote_bitbang_flush();
|
||||||
|
}
|
||||||
|
|
||||||
static struct jtag_interface remote_bitbang_interface = {
|
static struct jtag_interface remote_bitbang_interface = {
|
||||||
.execute_queue = &bitbang_execute_queue,
|
.execute_queue = &remote_bitbang_execute_queue,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct adapter_driver remote_bitbang_adapter_driver = {
|
struct adapter_driver remote_bitbang_adapter_driver = {
|
||||||
|
|
Loading…
Reference in New Issue