X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fsmp8634.cfg;h=5207a4438da26d3281adba849157db7b2b20c7aa;hb=9959297f2012eae7b810bb7d1c3679fafbee0fae;hp=4f3959d56dbeb9372a41ad7a3fe1abd98f1070c0;hpb=b559b273b526b3077b3ca219eecc8df9f86efac0;p=fw%2Fopenocd diff --git a/tcl/target/smp8634.cfg b/tcl/target/smp8634.cfg index 4f3959d56..5207a4438 100644 --- a/tcl/target/smp8634.cfg +++ b/tcl/target/smp8634.cfg @@ -1,21 +1,20 @@ # script for Sigma Designs SMP8634 (eventually even SMP8635) if { [info exists CHIPNAME] } { - set _CHIPNAME $CHIPNAME + set _CHIPNAME $CHIPNAME } else { - set _CHIPNAME smp8634 + set _CHIPNAME smp8634 } 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 { - # force an error till we get a good number set _CPUTAPID 0x08630001 } @@ -26,7 +25,7 @@ reset_config trst_and_srst separate # jtag scan chain # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) -jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 +jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME mips_m4k -endian $_ENDIAN -variant