]> git.sur5r.net Git - openocd/commitdiff
nds32: change default value
authorHsiangkai Wang <hsiangkai@gmail.com>
Mon, 10 Jun 2013 03:38:21 +0000 (11:38 +0800)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 13 Sep 2013 19:37:34 +0000 (19:37 +0000)
Change-Id: I0505bdc0e75543a3b205981339c5b9fa78a080ca
Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1575
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/aice/aice_usb.c
src/target/nds32.c

index f25a0f5ce999b2a9b5a203b0924491846fb7ec71..6bd9c19bc3fd6654f3018e2f6f6312a1bc8c46c9 100644 (file)
@@ -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;
 
index 4c9f29134b32b9cdd4d15e7eb3176dd17cfe5bbb..e09ce6f0e475c520692fa44b35fb0911506d314f 100644 (file)
@@ -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;