From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 31 Oct 2014 09:01:01 +0100 Subject: [U-Boot] [PATCH v4 05/29] dm: spi: Add a uclass for SPI In-Reply-To: References: <1413265336-9571-1-git-send-email-sjg@chromium.org> <1413265336-9571-6-git-send-email-sjg@chromium.org> <5450E573.50705@denx.de> <5451C0BD.2020401@denx.de> Message-ID: <545341BD.6000009@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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