]> git.sur5r.net Git - openocd/commitdiff
Add Voipac PXA270 module support
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 26 Apr 2010 01:34:03 +0000 (03:34 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 26 Apr 2010 05:08:55 +0000 (07:08 +0200)
This patch adds support for the Voipac PXA270 module. Including NOR flash.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
tcl/board/voipac.cfg [new file with mode: 0644]

diff --git a/tcl/board/voipac.cfg b/tcl/board/voipac.cfg
new file mode 100644 (file)
index 0000000..c59277e
--- /dev/null
@@ -0,0 +1,12 @@
+# Config for Voipac PXA270/PXA270M module.
+
+set CHIPNAME voipac
+source [find target/pxa270.cfg]
+
+# The board supports separate reset lines
+# Override this in the interface config for parallel dongles
+reset_config trst_and_srst separate
+
+# flash bank <driver> <base> <size> <chip_width> <bus_width>
+flash bank $_CHIPNAME.flash0 cfi 0x00000000 0x2000000 2 2 $_TARGETNAME
+flash bank $_CHIPNAME.flash1 cfi 0x02000000 0x2000000 2 2 $_TARGETNAME