Re: [PATCH v1 3/7] bus: mhi: core: Handle EDL mode entry appropriately

From: Loic Poulain
Date: Tue Mar 30 2021 - 03:54:28 EST


On Tue, 30 Mar 2021 at 03:28, Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx> wrote:
>
> Device entering EDL or Emergency Download Mode will be in a
> SYS_ERROR MHI state. This requires MHI host to proceed with the
> EDL image download over BHI before device can enter an MHI READY
> state and proceed with further bootup. Allow this to be handled
> by relying on the execution environment check after SYS_ERROR
> processing to determine whether to wait for an MHI READY or
> download the EDL image over BHI after moving MHI PM state to
> Power on Reset internally. This way handling is contained well
> within the MHI core driver and helps pave the way for Flash
> Programmer execution environment functionality.
>
> Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>

Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>