MLK-16903 imx8m: Add reset_cpu to use external WDOG_B for reset
authorYe Li <ye.li@nxp.com>
Mon, 20 Nov 2017 06:54:45 +0000 (00:54 -0600)
committerYe Li <ye.li@nxp.com>
Mon, 20 Nov 2017 07:00:41 +0000 (01:00 -0600)
commitfa65b0a9056baca4629f27cc056e8b202aa2da30
tree7f2e8557524c7924b6ec5a6e78416712a8b66199
parentaa6bafbb6badda51e5ccca8f7b741b63381717be
MLK-16903 imx8m: Add reset_cpu to use external WDOG_B for reset

The WDT is enabled for WDOG in current u-boot reset, this cause external WDOG_B
and internal WDOG_RESET_B_DEB both asserted for timeout. To avoid any unpredictable
behavior, change to use the WDOG_B only.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/imx8m/soc.c