[U-Boot] [PATCH 1/3] sysreset: switch to using SYSRESET_POWER_OFF for poweroff

Urja Rannikko urjaman at gmail.com
Thu May 16 11:37:17 UTC 2019


Hi,

On Thu, May 16, 2019 at 7:44 AM Patrick DELAUNAY
<patrick.delaunay at st.com> wrote:
>
> Hi Urja,
>
> > -     if (type != SYSRESET_POWER)
> > +     if (type != SYSRESET_POWER_OFF)
> >               return -EPROTONOSUPPORT;
>
> In fact in the next part of the code, we are supporting
> only SYSRESET_POWER (reset with PMIC1 switch OFF and restart)
> and not SYSRESET_POWER_OFF....
>
> because Power Cycle if RREQ_EN=1
>
> I think you need to remove the update on this file for your patch and
> I will modified this function is to support both mode....
Okay I will drop this part, but just to confirm... this means that
currently you have a configuration where using the poweroff command
causes a power-cycle? Neat.

-- 
Urja Rannikko


More information about the U-Boot mailing list