[Patch v4 0/7] Transition of fsl qspi driver to spi-mem framework

Jagan Teki jagan at amarulasolutions.com
Mon Jan 27 08:19:42 CET 2020


Hi Kuldeep,

On Mon, Jan 13, 2020 at 12:57 PM Kuldeep Singh <kuldeep.singh at nxp.com> wrote:
>
> This entire patch series migrate freescale qspi driver to spi-mem
> framework.
>
> v4 version of series include removal of buildman failure on LS2080AQDS
> build which was observed in cleanup patches. Also, more clear commit
> message of patch 5.
>
> v3 version of series includes correction of copyright in qspi driver and
> also move SPI_FLASH_SPANSION from header to defconfigs in same patch.
>
> v2 version of series includes changes in qspi driver to have 1k size
> instead of complete flash size so as to make driver independent of flash
> size. This also makes it align with linux version of driver. Also added
> support for imx platforms to set TDH bits correctly. There are other minor
> changes in commit messages.
>
> Dependency on patches[1][2]. These patches are required to resolve booting
> crash observed in LS1012ARDB. One crash was related to pfe driver as it was
> accessing flash memory directly and other was based on environment.
> [1] https://patchwork.ozlabs.org/patch/1219462/
> [2] https://patchwork.ozlabs.org/patch/1208299/
>
> Patch 1 adds new qspi driver incorporating spi-mem framework and also
> removal of old driver which was based on spi-nor. The driver is a ported
> version of linux qspi driver. Initial port was done by Frieder. Now, no
> more direct memory access to spi-nor memory is possible i.e accessing flash
> memory using absolute address is not possible.
>
> Patch 2 removes unused qspi config options.
>
> Patch 3 moves FSL_QSPI to defconfig instead of defining it in header files.
>
> Patch 4 removes unused num-cs property from imx platforms.
>
> Patch 5 enables SPI_FLASH_SPANSION in ls1012a defconfig as FSL_QSPI is
> already enabled.
>
> Patch 6 enables SPI_FLASH_SPANSION in defconfigs of LS1046a boards instead
> of defining in header files.
>
> Patch 7 updates the device-tree properties treewide for layerscape boards
> by aligning with linux device-tree properties.
>
> Frieder Schrempf (1):
>   imx: imx6sx: Remove unused 'num-cs' property
>
> Kuldeep Singh (6):
>   spi: Transform the FSL QuadSPI driver to use the SPI MEM API
>   treewide: Remove unused FSL QSPI config options
>   configs: ls1043a: Move CONFIG_FSL_QSPI to defconfig
>   configs: ls1012a: Enable CONFIG_SPI_FLASH_SPANSION in defconfigs
>   configs: ls1046a: Move SPI_FLASH_SPANSION to defconfig
>   treewide: Update fsl qspi node dt properties as per spi-mem driver

Seems like defconfig changes of these were depends on net changes
isn't it? if yes, we need to wait for them to merge first.

Jagan.


More information about the U-Boot mailing list