summaryrefslogtreecommitdiff
path: root/tcl/board/openrd.cfg
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-18 02:19:35 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-19 13:39:41 -0800
commit3e1f5e7c64ea545f6e87b5fa1adb0c00358be505 (patch)
tree47233e5444f7dabf8f063fad02ec7626c6977f32 /tcl/board/openrd.cfg
parent664ba309d5dac2532c83fed441d14f93c7381d62 (diff)
downloadopenocd_libswd-3e1f5e7c64ea545f6e87b5fa1adb0c00358be505.tar.gz
openocd_libswd-3e1f5e7c64ea545f6e87b5fa1adb0c00358be505.tar.bz2
openocd_libswd-3e1f5e7c64ea545f6e87b5fa1adb0c00358be505.tar.xz
openocd_libswd-3e1f5e7c64ea545f6e87b5fa1adb0c00358be505.zip
update 'nand device' usage in scripts
Add $_FLASHNAME variable to update 'nand device' command syntax.
Diffstat (limited to 'tcl/board/openrd.cfg')
-rw-r--r--tcl/board/openrd.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/board/openrd.cfg b/tcl/board/openrd.cfg
index a77dcdbe..e8784d40 100644
--- a/tcl/board/openrd.cfg
+++ b/tcl/board/openrd.cfg
@@ -11,7 +11,8 @@ $_TARGETNAME configure \
arm7_9 dcc_downloads enable
# this assumes the hardware default peripherals location before u-Boot moves it
-nand device orion 0 0xd8000000
+set _FLASHNAME $_CHIPNAME.flash
+nand device $_FLASHNAME orion 0 0xd8000000
proc openrd_init { } {