summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-12-01 10:03:15 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-12-01 10:06:40 +0100
commit48edd58c3941c562a5a7ea78432a28e72108bbe4 (patch)
tree09c920b25999dd857998f46c925360c4860a49bb
parent445da543d8db868466dcef7e23f75b3c2b54bc72 (diff)
downloadopenocd+libswd-48edd58c3941c562a5a7ea78432a28e72108bbe4.tar.gz
openocd+libswd-48edd58c3941c562a5a7ea78432a28e72108bbe4.tar.bz2
openocd+libswd-48edd58c3941c562a5a7ea78432a28e72108bbe4.tar.xz
openocd+libswd-48edd58c3941c562a5a7ea78432a28e72108bbe4.zip
target: at91eb40a.cfg is a board, not a target.
Also updated to use target name when creating flash and set jtag_khz to 16000. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
-rw-r--r--tcl/board/at91eb40a.cfg (renamed from tcl/target/at91eb40a.cfg)5
1 files changed, 4 insertions, 1 deletions
diff --git a/tcl/target/at91eb40a.cfg b/tcl/board/at91eb40a.cfg
index e78cceac..62d3c9c3 100644
--- a/tcl/target/at91eb40a.cfg
+++ b/tcl/board/at91eb40a.cfg
@@ -43,7 +43,7 @@ arm7_9 dcc_downloads enable
#flash driver
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME ecosflash 0x01000000 0x200000 2 2 0 ecos/at91eb40a.elf
+flash bank $_FLASHNAME ecosflash 0x01000000 0x200000 2 2 $_TARGETNAME ecos/at91eb40a.elf
# required for usable performance. Used for lots of
# other things than flash programming.
@@ -60,3 +60,6 @@ $_TARGETNAME configure -event reset-init {
mww 0xffff0010 0x100
mww 0xffff0034 0x100
}
+
+# This target is pretty snappy...
+jtag_khz 16000