From 6b9c491257dead736b4fd35c21b50f3cf3d2807d Mon Sep 17 00:00:00 2001 From: Hsiangkai Wang Date: Mon, 10 Jun 2013 11:38:21 +0800 Subject: [PATCH] nds32: change default value Change-Id: I0505bdc0e75543a3b205981339c5b9fa78a080ca Signed-off-by: Hsiangkai Wang Reviewed-on: http://openocd.zylin.com/1575 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/jtag/aice/aice_usb.c | 2 +- src/target/nds32.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jtag/aice/aice_usb.c b/src/jtag/aice/aice_usb.c index f25a0f5c..6bd9c19b 100644 --- a/src/jtag/aice/aice_usb.c +++ b/src/jtag/aice/aice_usb.c @@ -38,7 +38,7 @@ static uint8_t current_target_id; static uint32_t jtag_clock; static struct aice_usb_handler_s aice_handler; /* AICE max retry times. If AICE command timeout, retry it. */ -static int aice_max_retry_times = 10; +static int aice_max_retry_times = 50; /* Default endian is little endian. */ static enum aice_target_endian data_endian; diff --git a/src/target/nds32.c b/src/target/nds32.c index 4c9f2913..e09ce6f0 100644 --- a/src/target/nds32.c +++ b/src/target/nds32.c @@ -1644,7 +1644,7 @@ int nds32_init_arch_info(struct target *target, struct nds32 *nds32) nds32->reset_halt_as_examine = false; nds32->keep_target_edm_ctl = false; nds32->word_access_mem = false; - nds32->virtual_hosting = false; + nds32->virtual_hosting = true; nds32->hit_syscall = false; nds32->active_syscall_id = NDS32_SYSCALL_UNDEFINED; nds32->virtual_hosting_errno = 0; -- 2.39.5