From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 11 Nov 2014 22:22:26 +0100 Subject: [U-Boot] [RFC PATCH] sf: New SF-NOR framework In-Reply-To: <1415739035-9636-1-git-send-email-jagannadh.teki@gmail.com> References: <1415739035-9636-1-git-send-email-jagannadh.teki@gmail.com> Message-ID: <201411112222.26492.marex@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 On Tuesday, November 11, 2014 at 09:50:35 PM, Jagannadha Sutradharudu Teki wrote: > This is long lasting work that I did last few months back, > I'm sure it's where much need now. > > - spi driver: drivers/spi/fsl_qspi.c > - flash attributes in spi_slave {} and > - etc ... > making spi subsystem becomes more flash specific rather operating > as a generic spi bus. So SF-NOR divides normal spi flash operations > through generic SPI API's(sf_spi.c) and more spi flash(sf) specific > operations through SF NOR API's. > > So the controllers those are operating more on flash needs to > write a driver on drivers/mtd/spi/ example fsl_qspi.c > > I have not tested more accuratly as of now, will come back again > with new feature additions/removal, zynq_qspi additions and more... > > Note: dm-spi ops can gets effected with this new framework > { .ops = &spi_flash_std_ops, } and will fix that in next > version patches. > > Signed-off-by: Jagannadha Sutradharudu Teki I have but a general question -- why did you not just import the spi-nor framework from Linux ? Best regards, Marek Vasut