From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: linux-mtd@lists.infradead.org, richard@nod.at
Subject: Re: [PATCH 1/2] mtd: nand: Add Hisilicon machine dependency
Date: Tue, 2 May 2017 20:44:33 +0200 [thread overview]
Message-ID: <20170502204433.7aebb5ca@bbrezillon> (raw)
In-Reply-To: <20170502174843.6877-2-ezequiel@vanguardiasur.com.ar>
On Tue, 2 May 2017 14:48:42 -0300
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> wrote:
> 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..04f4a556bc93 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
so that we can still compile test the driver easily.
Same goes for patch 2.
> depends on HAS_DMA
> help
> Enables support for NAND controller on Hisilicon SoC Hip04.
next prev parent reply other threads:[~2017-05-02 18:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 17:48 [PATCH 0/2] Add NAND driver mach dependency constraint Ezequiel Garcia
2017-05-02 17:48 ` [PATCH 1/2] mtd: nand: Add Hisilicon machine dependency Ezequiel Garcia
2017-05-02 18:44 ` Boris Brezillon [this message]
2017-05-02 17:48 ` [PATCH 2/2] mtd: nand: Add Mediatek " Ezequiel Garcia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170502204433.7aebb5ca@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox