From 5c98e063b9827ec96194375f383a54cdff31883f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Thu, 19 Aug 2010 16:06:45 +0200 Subject: [PATCH] imx35pdk: fix clock and reset delays MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use rclk and 100ms delay on ntrst Signed-off-by: Øyvind Harboe --- tcl/board/imx35pdk.cfg | 4 ++++ tcl/target/imx35.cfg | 1 + 2 files changed, 5 insertions(+) diff --git a/tcl/board/imx35pdk.cfg b/tcl/board/imx35pdk.cfg index e5891c8b..73fa6331 100644 --- a/tcl/board/imx35pdk.cfg +++ b/tcl/board/imx35pdk.cfg @@ -3,6 +3,10 @@ source [find target/imx35.cfg] source [find target/imx.cfg] $_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 { } { imx3x_reset diff --git a/tcl/target/imx35.cfg b/tcl/target/imx35.cfg index d47abdc6..30cb3863 100644 --- a/tcl/target/imx35.cfg +++ b/tcl/target/imx35.cfg @@ -2,6 +2,7 @@ # reset_config trst_and_srst srst_gates_jtag +jtag_ntrst_delay 100 if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME -- 2.39.5