
12 Oct
2019
12 Oct
'19
4:53 a.m.
Hi Lokesh,
On Fri, 27 Sep 2019 at 02:19, Lokesh Vutla lokeshvutla@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@ti.com
drivers/core/device.c | 3 ++- include/dm/device.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!