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/pxa255_sst.cfg | |
parent | fd654c8a3e3dbd5ab97eb6b3834ee462dd509a66 (diff) | |
download | openocd+libswd-2dfa5e9c844a5a3f8aaca146c874f13570b8f667.tar.gz openocd+libswd-2dfa5e9c844a5a3f8aaca146c874f13570b8f667.tar.bz2 openocd+libswd-2dfa5e9c844a5a3f8aaca146c874f13570b8f667.tar.xz openocd+libswd-2dfa5e9c844a5a3f8aaca146c874f13570b8f667.zip |
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/pxa255_sst.cfg')
-rw-r--r-- | tcl/board/pxa255_sst.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/board/pxa255_sst.cfg b/tcl/board/pxa255_sst.cfg index 8bc691ba..ce903871 100644 --- a/tcl/board/pxa255_sst.cfg +++ b/tcl/board/pxa255_sst.cfg @@ -13,7 +13,8 @@ source [find target/pxa255.cfg] $_TARGETNAME configure -work-area-phys 0x4000000 -work-area-size 0x4000 -work-area-backup 0 # flash bank <driver> <base> <size> <chip_width> <bus_width> <target> [options] -flash bank cfi 0x00000000 0x80000 2 2 $_TARGETNAME jedec_probe +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME cfi 0x00000000 0x80000 2 2 $_TARGETNAME jedec_probe proc pxa255_sst_init {} { xscale cp15 15 0x00002001 #Enable CP0 and CP13 access |