X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fat91sam7sx.cfg;h=4b3cab43cd63d0bb4a549d978cf5d7fcaf356072;hb=335bafbb2561d92d1631050e6aa3c4ab93e3644e;hp=6cbd6b674146982dbb8b8f84de40c9e1765cbb82;hpb=ba951aede3aa98591087428955dad51279e6a5ea;p=openocd.git diff --git a/tcl/target/at91sam7sx.cfg b/tcl/target/at91sam7sx.cfg index 6cbd6b6741..4b3cab43cd 100644 --- a/tcl/target/at91sam7sx.cfg +++ b/tcl/target/at91sam7sx.cfg @@ -2,18 +2,18 @@ reset_config srst_only srst_pulls_trst if { [info exists CHIPNAME] } { - set _CHIPNAME $CHIPNAME + set _CHIPNAME $CHIPNAME } else { - set _CHIPNAME at91sam7s + set _CHIPNAME at91sam7s } if { [info exists ENDIAN] } { - set _ENDIAN $ENDIAN + set _ENDIAN $ENDIAN } else { - set _ENDIAN little + set _ENDIAN little } -if { [info exists CPUTAPID ] } { +if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { set _CPUTAPID 0x3f0f0f0f @@ -50,4 +50,4 @@ $_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-a #flash bank [ ] set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME at91sam7 0 0 0 0 0 0 0 0 0 0 0 0 18432 +flash bank $_FLASHNAME at91sam7 0 0 0 0 $_TARGETNAME 0 0 0 0 0 0 0 18432