]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00154211 [MX6]Add workaround for wdog errata
authorAnson Huang <b20788@freescale.com>
Wed, 3 Aug 2011 01:47:32 +0000 (09:47 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:04 +0000 (08:33 +0200)
commit8e685072e9995242acb31bbf5d6b73b9000cfdc1
treea348b70b7b1654d0100e893fa78bf83389b2b20f
parent20f84634a900b63e885d1fda103998e9e186284b
ENGR00154211 [MX6]Add workaround for wdog errata

Errata number:TKT039676

WDOG sw reset is generated by writing to its
control register. WDOG's reset is activated by
ipg_clk_s, and is de-activated (later) by a
synchronized CKIL (32KHz clock). On the other
hand SRC samples the WDOG reset with an
unsynchronized CKIL clock. If the write to WDOG
control register happens between the edges of
unsynchronized and synchronized CKIL clocks SRC
will miss the wdog reset pulse.

Workaround: write wdog control register twice.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/plat-mxc/system.c