[U-Boot] [PATCH V2 1/2] power: domain: add dev_power_domain_on

Simon Glass sjg at chromium.org
Fri Sep 27 01:49:10 UTC 2019


On Tue, 24 Sep 2019 at 00:58, Lokesh Vutla <lokeshvutla at ti.com> wrote:
>
>
>
> On 17/09/19 2:59 PM, Peng Fan wrote:
> > Add this new API to power on multiple domains attached
> > to a device.
> >
> > Signed-off-by: Peng Fan <peng.fan at nxp.com>
> > ---
> >
>
> [..snip..]
>
> > + */
> > +#if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) && \
> > +     CONFIG_IS_ENABLED(POWER_DOMAIN)
> > +int dev_power_domain_on(struct udevice *dev);
> > +#else
> > +int dev_power_domain_on(struct udevice *dev)
>
> static inline

Fixed this, added a condition to the .c file, and:

Reviewed-by: Simon Glass <sjg at chromium.org>


>
> Thanks and regards,
> Lokesh
>
> > +{
> > +     return 0;
> > +}
> > +#endif
> > +
> >  #endif
> >


More information about the U-Boot mailing list