linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@bootlin.com>
To: "Ralf Baechle" <ralf@linux-mips.org>,
	linux-mips@linux-mips.org, "Rafał Miłecki" <zajec5@gmail.com>,
	"Boris Brezillon" <boris.brezillon@bootlin.com>,
	"Richard Weinberger" <richard@nod.at>,
	"Miquel Raynal" <miquel.raynal@bootlin.com>,
	linux-mtd@lists.infradead.org
Cc: linux-wireless@vger.kernel.org,
	Marek Vasut <marek.vasut@gmail.com>,
	Brian Norris <computersforpeace@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH 17/27] mtd: rawnand: fsmc: Allow selection of this driver when COMPILE_TEST=y
Date: Sun, 8 Jul 2018 15:06:30 +0200	[thread overview]
Message-ID: <20180708150630.06367498@bbrezillon> (raw)
In-Reply-To: <20180705094522.12138-18-boris.brezillon@bootlin.com>

On Thu,  5 Jul 2018 11:45:12 +0200
Boris Brezillon <boris.brezillon@bootlin.com> wrote:

> It just makes NAND maintainers' life easier by allowing them to
> compile-test this driver without having PLAT_SPEAR, ARCH_NOMADIK,
> ARCH_U8500 or MACH_U300 enabled.
> 
> We also need to add a dependency on HAS_IOMEM to make sure the driver
> compiles correctly.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
> ---
>  drivers/mtd/nand/raw/Kconfig | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
> index b89bd94a654c..245f1b56b94f 100644
> --- a/drivers/mtd/nand/raw/Kconfig
> +++ b/drivers/mtd/nand/raw/Kconfig
> @@ -502,8 +502,9 @@ config MTD_NAND_JZ4780
>  
>  config MTD_NAND_FSMC
>  	tristate "Support for NAND on ST Micros FSMC"
> -	depends on OF
> -	depends on PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || MACH_U300
> +	depends on OF && HAS_IOMEM
> +	depends on PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || MACH_U300 || \
> +		   COMPILE_TEST

Looks like we have a conflict on the PC definition when compiling a
MIPS kernel. I'll add a patch suffixing PC with FSMC_ to avoid that.
Please don't apply this patch yet. 

>  	help
>  	  Enables support for NAND Flash chips on the ST Microelectronics
>  	  Flexible Static Memory Controller (FSMC)

  reply	other threads:[~2018-07-08 13:06 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-05  9:44 [PATCH 00/27] mtd: rawnand: Improve compile-test coverage Boris Brezillon
2018-07-05  9:44 ` [PATCH 01/27] mtd: rawnand: gpmi: Remove useless dependency on MTD_NAND Boris Brezillon
2018-07-05  9:44 ` [PATCH 02/27] mtd: rawnand: Add 'depends on HAS_IOMEM' where missing Boris Brezillon
2018-07-05  9:44 ` [PATCH 03/27] mtd: rawnand: atmel: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:44 ` [PATCH 04/27] mtd: rawnand: omap2: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 05/27] mtd: rawnand: s3c2410: " Boris Brezillon
2018-07-07 15:32   ` Boris Brezillon
2018-07-05  9:45 ` [PATCH 06/27] mtd: rawnand: sharpsl: Remove inclusion of mach and asm headers Boris Brezillon
2018-07-05  9:45 ` [PATCH 07/27] mtd: rawnand: sharpsl: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 08/27] mtd: rawnand: lpc32xx: Allow selection of these drivers " Boris Brezillon
2018-07-05  9:45 ` [PATCH 09/27] mtd: rawnand: brcmnand: Allow selection of this driver " Boris Brezillon
2018-07-05  9:45 ` [PATCH 10/27] mtd: rawnand: orion: Avoid direct inclusion of asm headers Boris Brezillon
2018-07-05  9:45 ` [PATCH 11/27] mtd: rawnand: orion: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 12/27] mtd: rawnand: mxc: Avoid inclusion of asm/mach headers Boris Brezillon
2018-07-05  9:45 ` [PATCH 13/27] mtd: rawnand: mxc: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 14/27] mtd: rawnand: davinci: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 15/27] mtd: rawnand: sunxi: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 16/27] mtd: rawnand: qcom: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 17/27] mtd: rawnand: fsmc: " Boris Brezillon
2018-07-08 13:06   ` Boris Brezillon [this message]
2018-07-05  9:45 ` [PATCH 18/27] mtd: rawnand: nuc900: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 19/27] memory: fsl_ifc: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 20/27] mtd: rawnand: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 21/27] bcma: " Boris Brezillon
2018-07-06 14:32   ` Kalle Valo
2018-07-06 14:37     ` Boris Brezillon
2018-07-05  9:45 ` [PATCH 22/27] MIPS: txx9: Move the ndfc.h header to include/linux/platform_data/txx9 Boris Brezillon
2018-07-05  9:45 ` [PATCH 23/27] mtd: rawnand: txx9ndfmc: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 24/27] MIPS: jz4740: Move jz4740_nand.h header to include/linux/platform_data/jz4740 Boris Brezillon
2018-07-05  9:45 ` [PATCH 25/27] mtd: rawnand: jz4740: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 26/27] mtd: rawnand: jz4780: Drop the dependency on MACH_JZ4780 Boris Brezillon
2018-07-05  9:45 ` [PATCH 27/27] memory: jz4780-nemc: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:49 ` [PATCH 00/27] mtd: rawnand: Improve compile-test coverage Boris Brezillon
2018-07-05 10:25 ` Geert Uytterhoeven
2018-07-06 14:40   ` Richard Weinberger
2018-07-08 21:55 ` Miquel Raynal

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=20180708150630.06367498@bbrezillon \
    --to=boris.brezillon@bootlin.com \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=marek.vasut@gmail.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=ralf@linux-mips.org \
    --cc=richard@nod.at \
    --cc=zajec5@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).