summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-07-19 12:22:18 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-07-19 12:22:18 +0100
commit4611f87f0aeba42d21fc6c197e904a0c97731bf7 (patch)
treea46aa541df02185d8811657d2efac0da2eba0c2d /tcl
parent0345667642e13ef2c78dc904677541d2b935d831 (diff)
downloadopenocd_libswd-4611f87f0aeba42d21fc6c197e904a0c97731bf7.tar.gz
openocd_libswd-4611f87f0aeba42d21fc6c197e904a0c97731bf7.tar.bz2
openocd_libswd-4611f87f0aeba42d21fc6c197e904a0c97731bf7.tar.xz
openocd_libswd-4611f87f0aeba42d21fc6c197e904a0c97731bf7.zip
flash: add nuc910 nand driver
This adds a nand driver support for the nuc910 target. Note that ECC is not currently supported by this driver, although it is supported by the peripheral. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/rsc-w910.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcl/board/rsc-w910.cfg b/tcl/board/rsc-w910.cfg
index eba44f62..423fb8fd 100644
--- a/tcl/board/rsc-w910.cfg
+++ b/tcl/board/rsc-w910.cfg
@@ -21,6 +21,9 @@ $_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x04000000 -wo
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x20000000 0x00200000 2 2 $_TARGETNAME
+set _NANDNAME $_CHIPNAME.nand
+nand device $_NANDNAME nuc910 $_TARGETNAME
+
#
# Target events
#