arm: socfpga: Change watchdog timeout
authorStefan Roese <sr@denx.de>
Fri, 19 Dec 2014 12:49:10 +0000 (13:49 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 21 Dec 2014 13:39:04 +0000 (14:39 +0100)
commitd0e932de7c8e46ade1994e03e864636db3922520
tree8f970145dada1fbb056c87a1061003161c1e18bc
parentd8bec60c1b0de7770f9b56ad092ab9be801d99af
arm: socfpga: Change watchdog timeout

The current current watchdog timeout of 12 seconds is a bit small for
booting into Linux, especially when using a NFS based rootfs. So lets
change this timeout to a more defensive value of 30 seconds.

Also we now call the hw_watchdog_init() function so that we override
the value already configured from the Preloader.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Vince Bridgers <vbridger@opensource.altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Pavel Machek <pavel@denx.de>
arch/arm/cpu/armv7/socfpga/misc.c
include/configs/socfpga_common.h