[U-Boot] [PATCH 1/4] dm: core: Allow for not controlling the power-domain by DM framework
Simon Glass
sjg at chromium.org
Fri Oct 11 22:21:51 UTC 2019
Hi Lokesh,
On Fri, 27 Sep 2019 at 02:19, Lokesh Vutla <lokeshvutla at ti.com> wrote:
>
> In some remoteproc cases, enabling the power domain of the core will
> start running the core. In such cases image should be loaded before
> enabling the power domain. But the current DM framework enables the
> power-domain by default during probe. This is causing the remotecore
> to start and crash as there is no valid image loaded.
>
> In order to avoid this introduce a DM flag that doesn't allow for
> enabling/disabling the power-domain by DM framework.
>
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
> ---
> drivers/core/device.c | 3 ++-
> include/dm/device.h | 3 +++
> 2 files changed, 5 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list