From: Hsiangkai Wang Date: Mon, 10 Jun 2013 03:38:21 +0000 (+0800) Subject: nds32: change default value X-Git-Tag: v0.8.0-rc1~276 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=refs%2Fchanges%2F75%2F1575%2F7 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 --- diff --git a/src/jtag/aice/aice_usb.c b/src/jtag/aice/aice_usb.c index f25a0f5ce9..6bd9c19bc3 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 4c9f29134b..e09ce6f0e4 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;