]> git.gag.com Git - fw/openocd/blobdiff - tcl/board/sheevaplug.cfg
update 'nand device' usage in scripts
[fw/openocd] / tcl / board / sheevaplug.cfg
index 62b78ee19e5071c0506cbc6650a1acd04d6df2f6..afd621a7b16de294740a298f20f919a0201b8af8 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 sheevaplug_init { } {