common/board_f.c: Enable IMX watchdog in init_func_watchdog_init()
authorStefan Roese <sr@denx.de>
Tue, 10 Mar 2015 07:04:36 +0000 (08:04 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 13 Mar 2015 12:31:56 +0000 (13:31 +0100)
commit14a380a8f3059a8e66446d0462a39978946c564c
treea7e8490187630e10d35e990ef511a0c29fa8ba03
parent9d16c52f62a4cd017ac3530002ccc8ea9ffde58f
common/board_f.c: Enable IMX watchdog in init_func_watchdog_init()

Without this patch, the IMX watchdog will not be initialized. And therefor
not active. This patch fixes this by calling hw_watchdog_init() also when
CONFIG_IMX_WATCHDOG is defined.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
common/board_f.c