summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-11 14:16:52 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-16 09:16:15 +0100
commit09c798a1444e9f416afc829b77ff599777d6d5d9 (patch)
tree5c722a6f84a5d921ad67410e93167bae59fb8a1c /tcl
parente7a8de17620cd24d0c28388d5851ce093297411c (diff)
downloadopenocd+libswd-09c798a1444e9f416afc829b77ff599777d6d5d9.tar.gz
openocd+libswd-09c798a1444e9f416afc829b77ff599777d6d5d9.tar.bz2
openocd+libswd-09c798a1444e9f416afc829b77ff599777d6d5d9.tar.xz
openocd+libswd-09c798a1444e9f416afc829b77ff599777d6d5d9.zip
TCL/SPEAr: Added Serial flash in board file
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/spear310evb20.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcl/board/spear310evb20.cfg b/tcl/board/spear310evb20.cfg
index 887e7993..70783f5b 100644
--- a/tcl/board/spear310evb20.cfg
+++ b/tcl/board/spear310evb20.cfg
@@ -25,6 +25,10 @@ arm7_9 fast_memory_access enable
set _FLASHNAME0 $_CHIPNAME.pnor
flash bank $_FLASHNAME0 cfi 0x50000000 0x01000000 2 4 $_TARGETNAME
+# Serial NOR on SMI CS0. 8Mbyte.
+set _FLASHNAME1 $_CHIPNAME.snor
+flash bank $_FLASHNAME1 spearsmi 0xf8000000 0 0 0 $_TARGETNAME
+
if { [info exists BOARD_HAS_SRST] } {
# Modified board has SRST on JTAG connector
reset_config trst_and_srst separate srst_gates_jtag \