]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(imx8m): update poweroff related SNVS_LPCR bits only
authorShawn Guo <shawn.guo@linaro.org>
Wed, 26 Oct 2022 08:38:53 +0000 (16:38 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 26 Oct 2022 10:57:39 +0000 (18:57 +0800)
commitad6eb1951b986f30635025bbdf29e257b6b1e362
tree3a81c724402e867ded4b457ec38fe566d3099646
parent36d18c542e1a9c444fc50e955b793fcf1428465e
fix(imx8m): update poweroff related SNVS_LPCR bits only

Function imx_system_off() writes SNVS_LPCR register to power off the SoC
without bit masking.  This clears other bits like LPWUI_EN and breaks
the function of SoC wake-up using RTC alarm.  Fix it by updating poweroff
related bits only.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Change-Id: If641af4dc1103c67e1a645c03bb36a5f56665aef
plat/imx/imx8m/imx8m_psci_common.c