[U-Boot] [PATCH v4 05/29] dm: spi: Add a uclass for SPI

Stefan Roese sr at denx.de
Fri Oct 31 09:01:01 CET 2014


Hi Simon,

On 31.10.2014 02:30, Simon Glass wrote:
>>> But first let's make sure that you really do have the platform that
>>> doesn't use device tree... If it is ARM my understanding is that it
>>> should.
>>
>>
>> It does. In the kernel. I think I'll dive into adding DT support for SoCFPGA
>> for a few hours. Perhaps thats even easier than adding platform-data support
>> to the SPI DM. Lets see how this goes...
>
> Good luck. If you use CONFIG_OF_SEPARATE you will get u-boot-dtb.bin
> and hopefully it will just work. For CONFIG_OF_EMBED I see a bug was
> introduced so I need to do a patch for that.

I didn't add any of those defines above. Just CONFIG_OF_CONTROL seems to 
be needed.

I already posted a patch for DT support for SoCFPGA yesterday. And with 
the addition of the aliases for the spi DT nodes I'm now able use and 
test the driver...

Thanks,
Stefan



More information about the U-Boot mailing list