4.10-stable review patch. If anyone has any objections, please let me know.
------------------ From: Jean Delvare <[email protected]> commit de0b34455afd1204a3644c9eb25b0b3b0aeb2fe9 upstream. 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 <[email protected]> Fixes: 668592492409 ("mtd: nand: Add OX820 NAND Support") Cc: Rob Herring <[email protected]> Cc: Neil Armstrong <[email protected]> Cc: Boris Brezillon <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Brian Norris <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Cyrille Pitchen <[email protected]> Acked-by: Marek Vasut <[email protected]> Acked-by: Neil Armstrong <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> --- drivers/mtd/nand/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -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 depends on HAS_IOMEM help This enables the NAND flash controller on Oxford Semiconductor SoCs.

