]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8m: Enable WDOG_B for timeout
authorYe Li <ye.li@nxp.com>
Mon, 9 Dec 2019 08:47:18 +0000 (00:47 -0800)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:22 +0000 (13:46 +0200)
commit7247974643aa8b924504f901f6fd9d6bc4f1f2fd
treed4fbca34af1755e8ba980fe368be712f78c90156
parent1c97fcda7f31b1697d5dc7d1de74e64b1a11bd9b
imx8m: Enable WDOG_B for timeout

When doing reset_cpu, in normal case the WDOG_B outputs immediately
after we clean WDA bit. But on mscale, the WDOG_B may be later than
internal reset, and cause PMIC not reset. As we enabled the SD3.0
support, the PMIC must be reset to reset SD card.

Change the reset_cpu to enable the WDOG_B for timeout as well, and set
WDOG timeout to 1s.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/soc.c