2015-11-18 09:26:09

by Yuan Yao

[permalink] [raw]
Subject: [PATCH 4/5] mtd: spi-nor: fsl-quadspi: add support for layerscape

LS1043a and LS2080A in the Layerscape family also support Freescale Quad
SPI, make Quad SPI selectable for these hardwares.

Signed-off-by: Yuan Yao <[email protected]>
---
drivers/mtd/spi-nor/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index 1368221..9373141 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -23,7 +23,7 @@ config MTD_SPI_NOR_USE_4K_SECTORS

config SPI_FSL_QUADSPI
tristate "Freescale Quad SPI controller"
- depends on ARCH_MXC || SOC_LS1021A || COMPILE_TEST
+ depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
depends on HAS_IOMEM
help
This enables support for the Quad SPI controller in master mode.
--
2.1.0.27.g96db324


2015-11-25 19:28:51

by Han Xu

[permalink] [raw]
Subject: Re: [PATCH 4/5] mtd: spi-nor: fsl-quadspi: add support for layerscape

On Wed, Nov 18, 2015 at 05:19:02PM +0800, Yuan Yao wrote:
> LS1043a and LS2080A in the Layerscape family also support Freescale Quad
> SPI, make Quad SPI selectable for these hardwares.
>
> Signed-off-by: Yuan Yao <[email protected]>
> ---
> drivers/mtd/spi-nor/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
> index 1368221..9373141 100644
> --- a/drivers/mtd/spi-nor/Kconfig
> +++ b/drivers/mtd/spi-nor/Kconfig
> @@ -23,7 +23,7 @@ config MTD_SPI_NOR_USE_4K_SECTORS
>
> config SPI_FSL_QUADSPI
> tristate "Freescale Quad SPI controller"
> - depends on ARCH_MXC || SOC_LS1021A || COMPILE_TEST
> + depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST

So will you add new compatible entries in qspi driver for these two platforms?

> depends on HAS_IOMEM
> help
> This enables support for the Quad SPI controller in master mode.
> --
> 2.1.0.27.g96db324
>

--
Best Regards,

Han "Allen" Xu

2015-11-26 07:14:55

by Yuan Yao

[permalink] [raw]
Subject: RE: [PATCH 4/5] mtd: spi-nor: fsl-quadspi: add support for layerscape

Hi Allen,

Yes, I will.
In fact, I have already send the patch<mtd: spi-nor: fsl-quadspi: add support for ls1021a>.
This patch will add the new compatible entries in qspi driver for the ls1021a platform.

Thanks for your review.

Best Regards,

Yuan Yao

-----Original Message-----
From: Han Xu [mailto:[email protected]]
Sent: Wednesday, November 25, 2015 2:16 PM
To: Yuan Yao-B46683 <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 4/5] mtd: spi-nor: fsl-quadspi: add support for layerscape

On Wed, Nov 18, 2015 at 05:19:02PM +0800, Yuan Yao wrote:
> LS1043a and LS2080A in the Layerscape family also support Freescale
> Quad SPI, make Quad SPI selectable for these hardwares.
>
> Signed-off-by: Yuan Yao <[email protected]>
> ---
> drivers/mtd/spi-nor/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
> index 1368221..9373141 100644
> --- a/drivers/mtd/spi-nor/Kconfig
> +++ b/drivers/mtd/spi-nor/Kconfig
> @@ -23,7 +23,7 @@ config MTD_SPI_NOR_USE_4K_SECTORS
>
> config SPI_FSL_QUADSPI
> tristate "Freescale Quad SPI controller"
> - depends on ARCH_MXC || SOC_LS1021A || COMPILE_TEST
> + depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE ||
> +COMPILE_TEST

So will you add new compatible entries in qspi driver for these two platforms?

> depends on HAS_IOMEM
> help
> This enables support for the Quad SPI controller in master mode.
> --
> 2.1.0.27.g96db324
>

--
Best Regards,

Han "Allen" Xu