Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 830e0d71 authored by Tirupathi Reddy's avatar Tirupathi Reddy
Browse files

platform: qpnp-power-on: Clear WARM_RESET reason registers



On some targets there is a hardware feature to catch resets
which are not triggered by the MSM. In such cases the warm
reset registers can give a wrong reset reason as they are
not cleared across MSM resets. Avoid this by clearing these
registers after the HLOS has booted up. Also, prior to clearing
them store the last value of these registers for runtime usage.

Add a DT property which controls clearing of these registers.

CRs-Fixed: 713011
Change-Id: Ia806c521f28a5ad1f480236baa6b4cac0359bf62
Signed-off-by: default avatarTirupathi Reddy <tirupath@codeaurora.org>
parent c5bc590f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment