[U-Boot] [PATCH] mx7dsabresd: Remove CONFIG_DM_MMC to avoid regression

Otavio Salvador
2017-10-11T14:27:16Z

On Wed, Oct 11, 2017 at 11:23 AM, Fabio Estevam <fabio.estevam@nxp.com> wrote:
> Since U-Boot 2017.09 it is no longer possible to boot a kernel from SD
> card:
>
> U-Boot 2017.11-rc1-00149-g38c8107-dirty (Oct 11 2017 - 09:55:22 -0300)
>
> CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
> CPU: Commercial temperature grade (0C to 95C) at 35C
> Reset cause: POR
> Model: Freescale i.MX7 SabreSD Board
> Board: i.MX7D SABRESD in non-secure mode
> DRAM: 1 GiB
> MMC: MMC/SD: Reset never completed.
>
> MMC Device 0 not found
> *** Warning - No MMC card found, using default environment
>
> While a proper fix is not available, remove CONFIG_DM_MMC and register
> the USDHC1 port in the old way, so that this board can boot a kernel
> again.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

I understand your goal but I think we ought to focus on fixing the
root cause of it instead of moving things back out of DM. I even think
we could postpone a little the release until a fix is made but revert
out from DM seems wrong.

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750