Hello,

I have written a pin controller driver for the TI AM335x SOC using U-Boot 2016.11-rc1. I use device tree to configure the board's hardware. The driver runs fine once u-boot.img is loaded. However it does not get loaded by the SPL code. Using the hang() routine for "debugging" I can tell that spl_init() seems to work fine. Even the call to dm_init_and_scan() succeeds.
So my question is: what is missing for the driver to be loaded by SPL?

If necessary I can provide much more details but it seems I have a fundamental misunderstanding of DM when it comes to SPL, although I believe having understood what dm_init_and_scan() and its parameter pre_reloc_only do.

Any hint putting me on the right track would be very much appreciated.

regards Felix
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to