All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/27] mtd: rawnand: Improve compile-test coverage
@ 2018-07-05  9:44 Boris Brezillon
  2018-07-05  9:44 ` [PATCH 01/27] mtd: rawnand: gpmi: Remove useless dependency on MTD_NAND Boris Brezillon
                   ` (29 more replies)
  0 siblings, 30 replies; 36+ messages in thread
From: Boris Brezillon @ 2018-07-05  9:44 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips, Rafał Miłecki,
	Boris Brezillon, Richard Weinberger, Miquel Raynal, linux-mtd
  Cc: David Woodhouse, Brian Norris, Marek Vasut, linux-wireless

Hello,

This is an attempt at adding "depends || COMPILE_TEST" to all NAND
drivers that have no compile-time dependencies on arch
features/headers.

This will hopefully help us (NAND/MTD maintainers) in detecting build
issues earlier. Unfortunately we still have a few drivers that can't
easily be modified to be arch independent.

I tried to put all patches that only touch the NAND subsystem first,
so that they can be applied even if other patches are being discussed.

Don't hesitate to point any missing dependencies when compiled with
COMPILE_TEST. I didn't have any problem when compiling, but that might
be because the dependencies were already selected.

I have Question for Geert. I know you worked on HAS_DMA removal when
combined with COMPILE_TEST, do you plan to do something similar with
HAS_IOMEM?

Regards,

Boris

Boris Brezillon (27):
  mtd: rawnand: gpmi: Remove useless dependency on MTD_NAND
  mtd: rawnand: Add 'depends on HAS_IOMEM' where missing
  mtd: rawnand: atmel: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: omap2: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: s3c2410: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: sharpsl: Remove inclusion of mach and asm headers
  mtd: rawnand: sharpsl: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: lpc32xx: Allow selection of these drivers when
    COMPILE_TEST=y
  mtd: rawnand: brcmnand: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: orion: Avoid direct inclusion of asm headers
  mtd: rawnand: orion: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: mxc: Avoid inclusion of asm/mach headers
  mtd: rawnand: mxc: Allow selection of this driver when COMPILE_TEST=y
  mtd: rawnand: davinci: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: sunxi: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: qcom: Allow selection of this driver when COMPILE_TEST=y
  mtd: rawnand: fsmc: Allow selection of this driver when COMPILE_TEST=y
  mtd: rawnand: nuc900: Allow selection of this driver when
    COMPILE_TEST=y
  memory: fsl_ifc: Allow selection of this driver when COMPILE_TEST=y
  mtd: rawnand: fsl_ifc: Allow selection of this driver when
    COMPILE_TEST=y
  bcma: Allow selection of this driver when COMPILE_TEST=y
  MIPS: txx9: Move the ndfc.h header to include/linux/platform_data/txx9
  mtd: rawnand: txx9ndfmc: Allow selection of this driver when
    COMPILE_TEST=y
  MIPS: jz4740: Move jz4740_nand.h header to
    include/linux/platform_data/jz4740
  mtd: rawnand: jz4740: Allow selection of this driver when
    COMPILE_TEST=y
  mtd: rawnand: jz4780: Drop the dependency on MACH_JZ4780
  memory: jz4780-nemc: Allow selection of this driver when
    COMPILE_TEST=y

 arch/mips/jz4740/board-qi_lb60.c                   |  3 +-
 arch/mips/txx9/generic/setup.c                     |  2 +-
 arch/mips/txx9/generic/setup_tx4938.c              |  2 +-
 arch/mips/txx9/generic/setup_tx4939.c              |  2 +-
 drivers/bcma/Kconfig                               |  3 +-
 drivers/memory/Kconfig                             |  6 ++-
 drivers/mtd/nand/raw/Kconfig                       | 61 +++++++++++++++-------
 drivers/mtd/nand/raw/jz4740_nand.c                 |  2 +-
 drivers/mtd/nand/raw/mxc_nand.c                    |  2 -
 drivers/mtd/nand/raw/orion_nand.c                  |  2 +-
 drivers/mtd/nand/raw/sharpsl.c                     |  5 +-
 drivers/mtd/nand/raw/txx9ndfmc.c                   |  2 +-
 .../linux/platform_data/jz4740}/jz4740_nand.h      |  4 +-
 .../linux/platform_data}/txx9/ndfmc.h              |  6 +--
 14 files changed, 61 insertions(+), 41 deletions(-)
 rename {arch/mips/include/asm/mach-jz4740 => include/linux/platform_data/jz4740}/jz4740_nand.h (91%)
 rename {arch/mips/include/asm => include/linux/platform_data}/txx9/ndfmc.h (91%)

-- 
2.14.1

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2018-07-08 21:55 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.