diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-18 02:15:52 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-19 13:39:41 -0800 |
commit | 2dfa5e9c844a5a3f8aaca146c874f13570b8f667 (patch) | |
tree | 30178e8d65d17c173619a3a8b9921b8d4f911210 /tcl/board/osk5912.cfg | |
parent | fd654c8a3e3dbd5ab97eb6b3834ee462dd509a66 (diff) |
update 'flash bank' usage in scripts
Sets $_FLASHNAME to "$_CHIPNAME.flash" and passes it as the
first argument to 'flash bank'.
Diffstat (limited to 'tcl/board/osk5912.cfg')
-rw-r--r-- | tcl/board/osk5912.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tcl/board/osk5912.cfg b/tcl/board/osk5912.cfg index d78c6eff..c33ae285 100644 --- a/tcl/board/osk5912.cfg +++ b/tcl/board/osk5912.cfg @@ -19,8 +19,10 @@ etm_dummy config $_TARGETNAME # standard boards populate two 16 MB chips, but manufacturing # options or an expansion board could change this config. -flash bank cfi 0x00000000 0x01000000 2 2 $_TARGETNAME -flash bank cfi 0x01000000 0x01000000 2 2 $_TARGETNAME +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME cfi 0x00000000 0x01000000 2 2 $_TARGETNAME +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME cfi 0x01000000 0x01000000 2 2 $_TARGETNAME proc osk5912_init {} { omap5912_reset |