* [PATCH v2 0/2] Add NAND driver mach dependency constraint
@ 2017-05-02 19:49 Ezequiel Garcia
2017-05-02 19:49 ` [PATCH v2 1/2] mtd: nand: Add Hisilicon machine dependency Ezequiel Garcia
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Ezequiel Garcia @ 2017-05-02 19:49 UTC (permalink / raw)
To: linux-mtd; +Cc: boris.brezillon, richard, Ezequiel Garcia
Just two tiny and silly patches I came across while doing
other things and testing with tiny_defconfig.
Changes from v1:
* Add COMPILE_TEST, suggested by Boris.
Ezequiel Garcia (2):
mtd: nand: Add Hisilicon machine dependency
mtd: nand: Add Mediatek machine dependency
drivers/mtd/nand/Kconfig | 2 ++
1 file changed, 2 insertions(+)
--
2.12.2
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v2 1/2] mtd: nand: Add Hisilicon machine dependency
2017-05-02 19:49 [PATCH v2 0/2] Add NAND driver mach dependency constraint Ezequiel Garcia
@ 2017-05-02 19:49 ` Ezequiel Garcia
2017-05-02 19:49 ` [PATCH v2 2/2] mtd: nand: Add Mediatek " Ezequiel Garcia
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Ezequiel Garcia @ 2017-05-02 19:49 UTC (permalink / raw)
To: linux-mtd; +Cc: boris.brezillon, richard, Ezequiel Garcia
The Hisilicon NAND driver is only needed for a specific
platform, so avoid cluttering the configuration.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
---
drivers/mtd/nand/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index c3029528063b..effe767fc347 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -542,6 +542,7 @@ config MTD_NAND_SUNXI
config MTD_NAND_HISI504
tristate "Support for NAND controller on Hisilicon SoC Hip04"
+ depends on ARCH_HISI || COMPILE_TEST
depends on HAS_DMA
help
Enables support for NAND controller on Hisilicon SoC Hip04.
--
2.12.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH v2 2/2] mtd: nand: Add Mediatek machine dependency
2017-05-02 19:49 [PATCH v2 0/2] Add NAND driver mach dependency constraint Ezequiel Garcia
2017-05-02 19:49 ` [PATCH v2 1/2] mtd: nand: Add Hisilicon machine dependency Ezequiel Garcia
@ 2017-05-02 19:49 ` Ezequiel Garcia
2017-05-02 20:04 ` [PATCH v2 0/2] Add NAND driver mach dependency constraint Richard Weinberger
2017-05-15 19:20 ` Boris Brezillon
3 siblings, 0 replies; 5+ messages in thread
From: Ezequiel Garcia @ 2017-05-02 19:49 UTC (permalink / raw)
To: linux-mtd; +Cc: boris.brezillon, richard, Ezequiel Garcia
The Mediatek NAND driver is only needed for a specific
platform, so avoid cluttering the configuration.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
---
drivers/mtd/nand/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index effe767fc347..0bd2319d3035 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -556,6 +556,7 @@ config MTD_NAND_QCOM
config MTD_NAND_MTK
tristate "Support for NAND controller on MTK SoCs"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
depends on HAS_DMA
help
Enables support for NAND controller on MTK SoCs.
--
2.12.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] Add NAND driver mach dependency constraint
2017-05-02 19:49 [PATCH v2 0/2] Add NAND driver mach dependency constraint Ezequiel Garcia
2017-05-02 19:49 ` [PATCH v2 1/2] mtd: nand: Add Hisilicon machine dependency Ezequiel Garcia
2017-05-02 19:49 ` [PATCH v2 2/2] mtd: nand: Add Mediatek " Ezequiel Garcia
@ 2017-05-02 20:04 ` Richard Weinberger
2017-05-15 19:20 ` Boris Brezillon
3 siblings, 0 replies; 5+ messages in thread
From: Richard Weinberger @ 2017-05-02 20:04 UTC (permalink / raw)
To: Ezequiel Garcia, linux-mtd; +Cc: boris.brezillon
Am 02.05.2017 um 21:49 schrieb Ezequiel Garcia:
> Just two tiny and silly patches I came across while doing
> other things and testing with tiny_defconfig.
>
> Changes from v1:
>
> * Add COMPILE_TEST, suggested by Boris.
>
> Ezequiel Garcia (2):
> mtd: nand: Add Hisilicon machine dependency
> mtd: nand: Add Mediatek machine dependency
Both look good to me.
Reviewed-by: Richard Weinberger <richard@nod.at>
Thanks,
//richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] Add NAND driver mach dependency constraint
2017-05-02 19:49 [PATCH v2 0/2] Add NAND driver mach dependency constraint Ezequiel Garcia
` (2 preceding siblings ...)
2017-05-02 20:04 ` [PATCH v2 0/2] Add NAND driver mach dependency constraint Richard Weinberger
@ 2017-05-15 19:20 ` Boris Brezillon
3 siblings, 0 replies; 5+ messages in thread
From: Boris Brezillon @ 2017-05-15 19:20 UTC (permalink / raw)
To: Ezequiel Garcia; +Cc: linux-mtd, richard
On Tue, 2 May 2017 16:49:50 -0300
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> wrote:
> Just two tiny and silly patches I came across while doing
> other things and testing with tiny_defconfig.
>
> Changes from v1:
>
> * Add COMPILE_TEST, suggested by Boris.
Applied to nand/next.
Thanks,
Boris
>
> Ezequiel Garcia (2):
> mtd: nand: Add Hisilicon machine dependency
> mtd: nand: Add Mediatek machine dependency
>
> drivers/mtd/nand/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-05-15 19:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-02 19:49 [PATCH v2 0/2] Add NAND driver mach dependency constraint Ezequiel Garcia
2017-05-02 19:49 ` [PATCH v2 1/2] mtd: nand: Add Hisilicon machine dependency Ezequiel Garcia
2017-05-02 19:49 ` [PATCH v2 2/2] mtd: nand: Add Mediatek " Ezequiel Garcia
2017-05-02 20:04 ` [PATCH v2 0/2] Add NAND driver mach dependency constraint Richard Weinberger
2017-05-15 19:20 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox