nds32: Use DMA to access memory as no DCache
commit18c40eb9e53f559e089b6f745284cf42718182da
authorHsiangkai Wang <hsiangkai@gmail.com>
Thu, 11 Jul 2013 02:08:15 +0000 (11 10:08 +0800)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 13 Sep 2013 19:37:54 +0000 (13 19:37 +0000)
treeecc34310b812dcb68b9abb0e907f346ad1b0ae46
parent586575c9dcc18154eeb4e893e554371c69ac0b9d
nds32: Use DMA to access memory as no DCache

As GDB uses file-I/O protocol to access memory, use DMA to access
if no DCache.  This commit improves the performance of Andes
Virtual Hosting.

Change-Id: I36bb2154b9f497fc4237625836cf8c7115330a60
Signed-off-by: Hsiangkai Wang <hsiangkai@gmail.com>
Reviewed-on: http://openocd.zylin.com/1580
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/nds32_v3_common.c