[PATCH 2/3] arch: imx8m: imx-regs.h add the USB regs

Fabio Estevam festevam at gmail.com
Fri Dec 17 18:45:57 CET 2021

On Fri, Dec 17, 2021 at 2:03 PM Adam Ford <aford173 at gmail.com> wrote:

> I didn't think Driver model was a requirement for SPL.

That's my understanding as well.

> > I had problems getting the dwc3 to initialize properly when using the
> > device model in the SPL. I'm currently just using this in the SPL and
> > the device model in u-boot.
> >
> > I'll take another shot at initializing the dwc3 in the SPL with the DM.
> Could we compromise by putting the #define statements in an ifdef to
> only enable them when SPL is being built?

This looks like a a good idea.

More information about the U-Boot mailing list