[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2083913.tsdTRJp6Sn@diego>
Date: Sat, 25 Apr 2015 02:14:58 +0200
From: Heiko Stübner <heiko@...ech.de>
To: Chris Zhong <zyw@...k-chips.com>
Cc: dianders@...omium.org, dtor@...omium.org, sonnyrao@...omium.org,
linux-rockchip@...ts.infradead.org,
Russell King <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: rockchip: disable dapswjdp during suspend
Am Mittwoch, 15. April 2015, 13:57:11 schrieb Chris Zhong:
> Reset dapswjdp is controlled by JTAG_TRSTN, if the iomux of this pin is
> not "jtag_trstn". the AP would think this pin is always high, so it can
> not reset before resume. When system resume, but the dapswjdp is not in
> a default state, it may Access some illegal address, it cause system
> crash during resume.
> Let's disable this jtag function by clear the dapdeviceen bit, it
> prohibit the dapswjdp to access memory and registers. This bit would
> be enable in MASKROM, so we need clear it in suspend everytime.
>
> Signed-off-by: Chris Zhong <zyw@...k-chips.com>
applied to a fixes branch for 4.1
Thanks
Heiko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists