ARM: i.MX system: Simplify handling watchdog clock
authorAlexander Shiyan <shc_work@mail.ru>
Fri, 13 Jun 2014 07:26:12 +0000 (11:26 +0400)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 18 Jul 2014 08:10:13 +0000 (16:10 +0800)
commitce8ad883873abaccca7282e9136694f49d72ab03
treebbe6c06188c7e3deeb5057b37ff1a5937c26a190
parenta74f30582d428066912230eb809a9d6cbb16ee2e
ARM: i.MX system: Simplify handling watchdog clock

This patch simplifies handling watchdog clock a bit.
As an additional change, now we properly check WDT clock in a reset
function.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/system.c