diff --git a/tcl/target/am335x.cfg b/tcl/target/am335x.cfg index a5376c1d1..af06f79ad 100644 --- a/tcl/target/am335x.cfg +++ b/tcl/target/am335x.cfg @@ -39,7 +39,7 @@ jtag configure $_CHIPNAME.m3_dap -event tap-enable "icepick_d_tapenable $_CHIPNA # # Main DAP # -if { [info exists DAP_TAPID ] } { +if { [info exists DAP_TAPID] } { set _DAP_TAPID $DAP_TAPID } else { set _DAP_TAPID 0x4b6b902f @@ -50,7 +50,7 @@ jtag configure $_CHIPNAME.dap -event tap-enable "icepick_d_tapenable $_CHIPNAME. # # ICEpick-D (JTAG route controller) # -if { [info exists JRC_TAPID ] } { +if { [info exists JRC_TAPID] } { set _JRC_TAPID $JRC_TAPID } else { set _JRC_TAPID 0x0b94402f diff --git a/tcl/target/imx28.cfg b/tcl/target/imx28.cfg index 0cbedce40..8c478b72e 100644 --- a/tcl/target/imx28.cfg +++ b/tcl/target/imx28.cfg @@ -23,7 +23,7 @@ if { [info exists ENDIAN] } { # Note above there is 1 tap # The CPU tap -if { [info exists CPUTAPID ] } { +if { [info exists CPUTAPID] } { set _CPUTAPID $CPUTAPID } else { set _CPUTAPID 0x079264f3