
Best Regards! Anson Huang
-----Original Message----- From: Fabio Estevam [mailto:festevam@gmail.com] Sent: 2018-01-07 6:48 AM To: Anson Huang anson.huang@nxp.com Cc: Stefano Babic sbabic@denx.de; Fabio Estevam fabio.estevam@nxp.com; Albert ARIBAUD albert.u.boot@aribaud.net; Christian Gmeiner christian.gmeiner@gmail.com; Peng Fan peng.fan@nxp.com; U-Boot-Denx u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH V2] imx: mx7: psci: add system reset support
Hi Anson,
On Fri, Jan 5, 2018 at 4:25 AM, Anson Huang anson.huang@nxp.com wrote:
Thanks for the comments, the current reboot command works is just because wdog driver is enabled and when system reboot, the reboot notification callback in wdog driver will do reset. But if wdog is disabled in dtb, the reboot command will fail.
As now we use PSCI, the reboot operation will eventually call into u-boot's psci reset callback, we should support this feature, the reboot feature in Linux kernel should NOT depends on wdog's existence.
Ok, but what about erratum e10574 (Watchdog: A watchdog timeout or software trigger will not reset the SOC)?
According to this erratum WDOG_B pin needs to generate a system power on.
Correct, we need to enable WDA to toggle WDOG_B for reset, thanks. Will send a V3 patch set.
Anson.