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

Angus Ainslie angus at akkea.ca
Sat Dec 18 15:36:27 CET 2021


On 2021-12-17 09:45, Fabio Estevam wrote:
> 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.

Thanks Fabian and Adam, I'll rework with the CONFIG_SPL_BUILD guards in 
place.

Angus


More information about the U-Boot mailing list