diff mbox

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

Message ID 1447838342-9932-1-git-send-email-yao.yuan@freescale.com
State Accepted
Commit a578c4f9ebe0ae781a69a68255b06b35aab6e5fe
Headers show

Commit Message

Yao Yuan Nov. 18, 2015, 9:19 a.m. UTC
LS1043a and LS2080A in the Layerscape family also support Freescale Quad
SPI, make Quad SPI selectable for these hardwares.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
---
 drivers/mtd/spi-nor/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Han Xu Nov. 25, 2015, 7:16 p.m. UTC | #1
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 <yao.yuan@freescale.com>
> ---
>  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
>
Yao Yuan Nov. 26, 2015, 6:59 a.m. UTC | #2
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:han.xu@freescale.com] 
Sent: Wednesday, November 25, 2015 2:16 PM
To: Yuan Yao-B46683 <yao.yuan@freescale.com>
Cc: dwmw2@infradead.org; computersforpeace@gmail.com; linux-kernel@vger.kernel.org; linux-mtd@lists.infradead.org
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 <yao.yuan@freescale.com>
> ---
>  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
>
diff mbox

Patch

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.