
18 Dec
2021
18 Dec
'21
3:36 p.m.
On 2021-12-17 09:45, Fabio Estevam wrote:
On Fri, Dec 17, 2021 at 2:03 PM Adam Ford aford173@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