]> git.sur5r.net Git - openocd/commitdiff
TCL/SPEAr: Added Serial flash in board file
authorAntonio Borneo <borneo.antonio@gmail.com>
Thu, 11 Nov 2010 06:16:52 +0000 (14:16 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 16 Nov 2010 08:16:15 +0000 (09:16 +0100)
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
tcl/board/spear310evb20.cfg

index 887e799395acd284d196ba04587f6b0e02cb8654..70783f5b9903689e3a197ffb1dae95a63dc9de2c 100644 (file)
@@ -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 \