[U-Boot] [PATCH] pico-imx6ul: Fix eMMC boot after DM_MMC conversion

Stefano Babic
2019-03-31T18:23:36Z

Hi Fabio,

On 30/03/19 21:59, Fabio Estevam wrote:
> Hi Stefano,
>
> On Thu, Mar 21, 2019 at 10:59 AM Fabio Estevam <festevam@gmail.com> wrote:
>>
>> After the DM_MMC conversion the following eMMC boot error is observed:
>>
>> U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 18:53:28 +0000)
>> Trying to boot from MMC1
>> MMC Device 0 not found
>> spl: could not find mmc device 0. error: -19
>> SPL: failed to boot from all boot devices
>> ### ERROR ### Please RESET the board ###
>>
>> This happens because the SPL code does not initialize the SDHC pins
>> and clock.
>>
>> Fix it by moving the original eMMC initialization from U-Boot proper
>> to SPL.
>>
>> Reported-by: Otavio Salvador <otavio@ossystems.com.br>
>> Signed-off-by: Fabio Estevam <festevam@gmail.com>
>> Tested-by: Fabio Berton <fabio.berton@ossystems.com.br>
>> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Could you please consider this one for 2019.04?
>
> It is needed to fix a boot regression after DM conversion.
>
> Thanks
>

I picked up this and other fixes for the release - when Travis has
finished, I will send PR to Tom.

Regards,
Stefano

--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================