[Patch v5 1/7] spi: Transform the FSL QuadSPI driver to use the SPI MEM API

Kuldeep Singh kuldeep.singh at nxp.com
Wed Mar 4 07:17:23 CET 2020


Hi Jagan,

> -----Original Message-----
> From: Kuldeep Singh <kuldeep.singh at nxp.com>
> Sent: Thursday, February 20, 2020 10:58 PM
> To: u-boot at lists.denx.de
> Cc: Frieder Schrempf <frieder.schrempf at kontron.de>; Stefan Roese
> <sr at denx.de>; Priyanka Jain <priyanka.jain at nxp.com>; Jagan Teki
> <jagan at amarulasolutions.com>; Stefano Babic <sbabic at denx.de>; Fabio
> Estevam <festevam at gmail.com>; Vignesh Raghavendra <vigneshr at ti.com>;
> Kuldeep Singh <kuldeep.singh at nxp.com>; Ashish Kumar
> <ashish.kumar at nxp.com>
> Subject: [Patch v5 1/7] spi: Transform the FSL QuadSPI driver to use the SPI
> MEM API
> 
> To support the SPI MEM API, instead of modifying the existing U-Boot
> driver, this patch adds a port of the existing Linux driver.
> This also has the advantage that porting changes and fixes from Linux will
> be easier.
> Porting of driver left most of the functions unchanged while few of the
> changes are:
> -Remove lock(mutexes) and irq handler as u-boot is a single core execution.
> -Remove invalid masterid as it was required specially for multicore
> execution in LS2088ARDB which is not the case in u-boot.
> -Remove clock support as changing spi speed is not supported in uboot and
> nor in linux.
> 
> Currently tested on LS1088ARDB, LS1012ARDB, LS1046ARDB, LS1046AFRWY,
> LS1043AQDS, LS1021ATWR, LS2088ARDB, I.MX6ULL EVK.
> 
> Signed-off-by: Frieder Schrempf <frieder.schrempf at kontron.de>
> Signed-off-by: Ashish Kumar <Ashish.Kumar at nxp.com>
> Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
> Reviewed-by: Stefan Roese <sr at denx.de>
> Tested-by: Stefan Roese <sr at denx.de>
> Acked-by: Vignesh Raghavendra <vigneshr at ti.com>
> ---
> v5: Remove compilation warning/error. No other change.
> v4: Add i.mx among tested boards
> v3: Use 1k size to make driver independent of flash size.
> v2: Merge removal of old driver and addition of new driver in single patch
<snip>

A gentle ping.
Could you please let me know if there's any dependency on my side.

Thanks
Kuldeep


More information about the U-Boot mailing list