summaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2010-04-26 03:34:03 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-04-26 07:08:55 +0200
commit56a21c9cb1e4785e2ca3aac16c7a6bb17874d9aa (patch)
treea181200a52584c49d41e3789c65f4ada329dc129 /tcl/board
parente0285dbe73594b640d9db2473821413097cbafc4 (diff)
downloadopenocd_libswd-56a21c9cb1e4785e2ca3aac16c7a6bb17874d9aa.tar.gz
openocd_libswd-56a21c9cb1e4785e2ca3aac16c7a6bb17874d9aa.tar.bz2
openocd_libswd-56a21c9cb1e4785e2ca3aac16c7a6bb17874d9aa.tar.xz
openocd_libswd-56a21c9cb1e4785e2ca3aac16c7a6bb17874d9aa.zip
Add Voipac PXA270 module support
This patch adds support for the Voipac PXA270 module. Including NOR flash. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/voipac.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/tcl/board/voipac.cfg b/tcl/board/voipac.cfg
new file mode 100644
index 00000000..c59277ec
--- /dev/null
+++ b/tcl/board/voipac.cfg
@@ -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