]> git.gag.com Git - fw/openocd/blobdiff - tcl/board/openrd.cfg
update 'nand device' usage in scripts
[fw/openocd] / tcl / board / openrd.cfg
index a77dcdbe6123ef26a2de62c7e9330eb3bb01e272..e8784d402558e6774e400a7a492a32f6f7ef13d6 100644 (file)
@@ -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 { } {