]> git.baikalelectronics.ru Git - uboot.git/commit
sysreset: syscon: remove POWER reset cause
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 18 Apr 2019 15:16:21 +0000 (17:16 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 26 Apr 2019 22:58:22 +0000 (18:58 -0400)
commit67a12515061c9b3cd81840e058f95dca810172c9
tree43f05c4ad90b596e5d2c1f04a1f8c619e7d6e8da
parentc0bfc67b14ce9da90810d3a02c0eb44f5edcaaa0
sysreset: syscon: remove POWER reset cause

The sysreset of 'POWER' type is a PMIC reset defined as
'remove and restore power'.
So normally only COLD/WARN is supported by sysreset_syscon.

This modification allows to use the function sysreset_walk(SYSRESET_POWER)
when it is supported by PMIC driver (see example in stpmic1).

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/sysreset/sysreset_syscon.c