imx35pdk: fix clock and reset delays
Use rclk and 100ms delay on ntrst Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
2c4ef30b11
commit
5c98e063b9
|
@ -3,6 +3,10 @@ source [find target/imx35.cfg]
|
||||||
source [find target/imx.cfg]
|
source [find target/imx.cfg]
|
||||||
$_TARGETNAME configure -event reset-init { imx35pdk_init }
|
$_TARGETNAME configure -event reset-init { imx35pdk_init }
|
||||||
|
|
||||||
|
# Stick to *really* low clock rate or reset will fail
|
||||||
|
# without RTCK / RCLK
|
||||||
|
jtag_rclk 10
|
||||||
|
|
||||||
proc imx35pdk_init { } {
|
proc imx35pdk_init { } {
|
||||||
|
|
||||||
imx3x_reset
|
imx3x_reset
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
reset_config trst_and_srst srst_gates_jtag
|
reset_config trst_and_srst srst_gates_jtag
|
||||||
|
jtag_ntrst_delay 100
|
||||||
|
|
||||||
if { [info exists CHIPNAME] } {
|
if { [info exists CHIPNAME] } {
|
||||||
set _CHIPNAME $CHIPNAME
|
set _CHIPNAME $CHIPNAME
|
||||||
|
|
Loading…
Reference in New Issue