[PATCH] mtd: nand: Add OX820 NAND hardware dependency

Marek Vasut marek.vasut at gmail.com
Mon Jan 9 04:59:19 PST 2017


On 01/09/2017 11:58 AM, Jean Delvare wrote:
> The oxnas NAND driver is only needed for a specific platform, do
> not propose it on other platforms unless build-testing.
> 
> Signed-off-by: Jean Delvare <jdelvare at suse.de>
> Fixes: 668592492409 ("mtd: nand: Add OX820 NAND Support")
> Cc: Rob Herring <robh at kernel.org>
> Cc: Neil Armstrong <narmstrong at baylibre.com>
> Cc: Boris Brezillon <boris.brezillon at free-electrons.com>
> Cc: Richard Weinberger <richard at nod.at>
> Cc: David Woodhouse <dwmw2 at infradead.org>
> Cc: Brian Norris <computersforpeace at gmail.com>
> Cc: Marek Vasut <marek.vasut at gmail.com>
> Cc: Cyrille Pitchen <cyrille.pitchen at atmel.com>

Seems ok,
Acked-by: Marek Vasut <marek.vasut at gmail.com>

> ---
>  drivers/mtd/nand/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-4.10-rc2.orig/drivers/mtd/nand/Kconfig	2017-01-09 11:44:05.151733169 +0100
> +++ linux-4.10-rc2/drivers/mtd/nand/Kconfig	2017-01-09 11:44:32.431065848 +0100
> @@ -426,6 +426,7 @@ config MTD_NAND_ORION
>  
>  config MTD_NAND_OXNAS
>  	tristate "NAND Flash support for Oxford Semiconductor SoC"
> +	depends on ARCH_OXNAS || COMPILE_TEST
>  	help
>  	  This enables the NAND flash controller on Oxford Semiconductor SoCs.
>  
> 
> 


-- 
Best regards,
Marek Vasut



More information about the linux-mtd mailing list