]> git.baikalelectronics.ru Git - uboot.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)
commit9c40c0b9f6a729dc9c5b4f83b128a1fd5a65c01e
tree29fe1e3eb968ea0130d44b023951e25ae0306c79
parent32d4924de47a1ff542ecdb364c5c6a530c4c4a95
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