Skip to contentSkip to conversation

mtd: nand: Add OX820 NAND hardware dependency

PATCH Applied Jean Delvare 4 participants 4 messages Jan 9, 2017 – Jan 30, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: nand: Add OX820 NAND hardware dependency

The oxnas NAND driver is only needed for a specific platform, do not propose it on other platforms unless build-testing.

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]>
---
 drivers/mtd/nand/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mtd/nand/Kconfig +1 -0
@@ -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.
 
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Jean Delvare

The oxnas NAND driver is only needed for a specific platform, do not propose it on other platforms unless build-testing.

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]>

Seems ok,

Quoted 16 lines
---
 drivers/mtd/nand/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mtd/nand/Kconfig +1 -0
@@ -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.
 
Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw
Quoted 26 lines · Marek Vasut
Quoted 13 lines · Jean Delvare

The oxnas NAND driver is only needed for a specific platform, do not propose it on other platforms unless build-testing.

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]>

Seems ok,

Quoted 8 lines
---
 drivers/mtd/nand/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mtd/nand/Kconfig +0 -0
@@ -426,6 +426,7 @@ config MTD_NAND_ORION
 
Quoted 10 lines

drivers/mtd/nand/Kconfig config MTD_NAND_ORION · line 432

Quoted 8 lines
drivers/mtd/nand/Kconfig +1 -0
 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.
 

+Cc: [email protected]

#3 lore raw
In reply to Jean Delvare
Quoted 3 lines · On Mon, 9 Jan 2017 11:58:14 +0100 Jean Delvare <[email protected]> wrote:

The oxnas NAND driver is only needed for a specific platform, do not propose it on other platforms unless build-testing.

Applied.

Thanks,

Boris

Quoted 26 lines
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]>
---
 drivers/mtd/nand/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mtd/nand/Kconfig +1 -0
@@ -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.