]> git.dujemihanovic.xyz Git - u-boot.git/commit
i.MX7ULP: Fix system reset after a7 rtc alarm expired.
authorBai Ping <ping.bai@nxp.com>
Mon, 22 Jul 2019 01:24:42 +0000 (01:24 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000 (16:35 +0200)
commit7777406a8a023bdfe18d106138c61eeaa15dd5b4
tree29fe1e3eb968ea0130d44b023951e25ae0306c79
parentbd1cc6ae6f8a8f2c1c44263e3a89f853c237306e
i.MX7ULP: Fix system reset after a7 rtc alarm expired.

The board will reboot if A7 core enter mem mode by rtc, then M4 core
enter VLLS mode after the RTC alarm expired. Enable the dumb PMIC mode
to fix this issue.
Since i.MX7ULP B0 moves the SNVS LP into M4 domain, A core can't access
it. So check the CPU rev and not apply the settings for B0.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-mx7ulp/imx-regs.h
arch/arm/mach-imx/mx7ulp/soc.c