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

Simon Glass sjg at chromium.org
Sat Nov 1 16:12:48 CET 2014


Hi Stefan,

On 31 October 2014 02:01, Stefan Roese <sr at denx.de> wrote:
> 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...

Ah great. I'm pleased it went so smoothly for you!

Regards,
Simon


More information about the U-Boot mailing list