From: Antonio Borneo Date: Thu, 11 Nov 2010 06:16:52 +0000 (+0800) Subject: TCL/SPEAr: Added Serial flash in board file X-Git-Tag: v0.5.0-rc1~341 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09c798a1444e9f416afc829b77ff599777d6d5d9;p=openocd TCL/SPEAr: Added Serial flash in board file Signed-off-by: Antonio Borneo --- 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 \