[U-Boot] IMX6 DM_USB / DM_MMC requires OF_CONTROL?

Marcel Ziswiler marcel.ziswiler at toradex.com
Thu Feb 21 14:48:09 UTC 2019


Hi Fabio

On Tue, 2019-02-19 at 19:32 +0100, Stefano Babic wrote:
> Hi Tim,
> 
> On 19/02/19 19:24, Tim Harvey wrote:
> > Greetings,
> > 
> > I'm seeing that I need to switch my IMX6 board support
> > (board/gateworks/gw_ventana) over to DM_USB and DM_MMC right away
> > (v2019.04) and I notice enabling those fails building as it looks
> > like
> > these DM drivers expect OF_CONTROL (U-Boot running from a
> > device-tree).
> > Is that currently true or am I perhaps missing
> > something? 
> 
> You are completely correct : moving to DM requires to set a DT for
> the
> board.

I don't think that is fully true. There is also the option of using
platform data. At least for certain parts of DM that is certainly
working (e.g. have a look at colibri_pxa270).

> > I haven't pinned down what exactly is missing yet so I
> > thought I would ask. It looks like only a couple of IMX6 boards
> > have
> > been converted over thus far.
> 
> Yes, that is true.
> 
> > What is the IMX6 status of DM_SCSI/DM_PCI/DM_VIDEO which are
> > required
> > by v2019.07?
> > 
> > Best Regards,
> > 
> 
> Stefano

Cheers

Marcel


More information about the U-Boot mailing list