powerpc: mpc85xx watchdog init added to init_func
authorBoschung, Rainer <Rainer.Boschung@keymile.com>
Tue, 3 Jun 2014 07:05:15 +0000 (09:05 +0200)
committerYork Sun <yorksun@freescale.com>
Fri, 1 Aug 2014 21:18:28 +0000 (14:18 -0700)
commit919e05520fbf5c32d3a5d19756449dfd4706cd94
tree12b53f4aa769c69d4d2232cd6ad5627a1c8f06d7
parent0f8062b25b31988bf62f166aa5b988add8454e42
powerpc: mpc85xx watchdog init added to init_func

When CONFIG_WATCHDOG is defined the board initialization just performs
a WATCHDOG_RESET, an initialization of the watchdog is not done.
This has been modified fot the MPC85xx, the board initialization calls
its watchdog initialitzation allowing for full watchdog configuration
very early in the boot phase.

Signed-off-by: Rainer Boschung <rainer.boschung@keymile.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/lib/board.c