From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Thu, 5 Nov 2015 16:18:37 +0100 Subject: [U-Boot] u-boot device model SPI + SPI Flash In-Reply-To: <7d9fad7ec38548d4854dc5094a7e0c42@LysExc01.nanotronic.local> References: <7ccbb9ae7fdb4663832167baa173d6b8@LysExc01.nanotronic.local> <0af28a07c7704451be0aa3fce01764d0@LysExc01.nanotronic.local> <320637582ef942f0b71a55d692d254e5@LysExc01.nanotronic.local> <7a85439a92f64a71a5f2b08b3fdc4576@LysExc01.nanotronic.local> <562E2FEE.60605@xilinx.com> <562F61EA.5080303@xilinx.com> <562F8F1A.4050903@xilinx.com> <5631D75E.2000402@xilinx.com> <4a9b0987ae1047fdb9bd0e84160400ac@LysExc01.nanotronic.local> <5639F451.1090501@xilinx.com> <7d9fad7ec38548d4854dc5094a7e0c42@LysExc01.nanotronic.local> Message-ID: <563B734D.2010902@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 11/05/2015 03:40 PM, Hoefle Marco wrote: > Hello Michal, > I have already adapted microblaze-generic.h accordingly (I think): > #define CONFIG_DM > #define CONFIG_DM_SPI 1 > # define CONFIG_DM_SPI_FLASH 1 > > Only with these settings u-boot xilinx_spi.c will compile. > Without DM driver wont compile and with DM SPI does not work. I have sent some files to Marco which are working for me. Thanks, Michal