linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem dependency for M25P80)
@ 2014-05-01  6:26 Brian Norris
  2014-05-01  6:26 ` [PATCH v2 11/12] powerpc: defconfigs: add MTD_SPI_NOR (new " Brian Norris
  2014-08-07 21:36 ` [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem " Geert Uytterhoeven
  0 siblings, 2 replies; 3+ messages in thread
From: Brian Norris @ 2014-05-01  6:26 UTC (permalink / raw)
  To: Linux Kernel
  Cc: Andrew Lunn, Steven Miao, linux-mips, Nicolas Ferre,
	Thierry Reding, linux-mtd, Marek Vasut, Russell King, linux-sh,
	Shawn Guo, Jean-Christophe Plagniol-Villard,
	Sebastian Hesselbarth, Roland Stigge, Jason Cooper, Arnd Bergmann,
	Stephen Warren, adi-buildroot-devel, Simon Horman, linux-tegra,
	Andrew Victor, linux-arm-kernel, Ralf Baechle, Huang Shijie,
	Santosh Shilimkar, Sascha Hauer, Olof Johansson, Paul Mackerras,
	Brian Norris, linuxppc-dev

v1 --> v2: split ARM defconfig changes into their sub-architectures. No change
           in the overall diff.

Hi all,

We are introducing a new SPI-NOR subsystem/framework for MTD, to support
various types of SPI-NOR flash controllers which require (or benefit from)
intimate knowledge of the flash interface, rather than just the relatively dumb
SPI interface. This framework borrows much of the m25p80 driver for its
abstraction and moves this code into a spi-nor module.

This means CONFIG_M25P80 now has a dependency on CONFIG_MTD_SPI_NOR, which
should be added to the defconfigs. I expect that each (sub)architecture
maintainer can merge these patches to their own tree.

Note that without the new CONFIG_MTD_SPI_NOR symbol in your defconfig, Kconfig
will automatically drop M25P80 for you.

Please keep general comments to the cover letter, so all parties can see.

This series is based on 3.15-rc1.

The SPI-NOR development code (in -next, queued for 3.16) is here:

  git://git.infradead.org/l2-mtd.git +spinor

This defconfig series is available in the same repo at:

  git://git.infradead.org/l2-mtd.git +defconfigs

Thanks,
Brian

Brian Norris (12):
  ARM: imx/mxs defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
  ARM: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
  ARM: keystone: add MTD_SPI_NOR (new dependency for M25P80)
  ARM: tegra: add MTD_SPI_NOR (new dependency for M25P80)
  ARM: lpc32xx: add MTD_SPI_NOR (new dependency for M25P80)
  ARM: at91: add MTD_SPI_NOR (new dependency for M25P80)
  ARM: shmobile: add MTD_SPI_NOR (new dependency for M25P80)
  ARM: marvell: add MTD_SPI_NOR (new dependency for M25P80)
  blackfin: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
  mips: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
  powerpc: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
  sh: defconfig: add MTD_SPI_NOR (new dependency for M25P80)

 arch/arm/configs/bockw_defconfig               | 2 +-
 arch/arm/configs/dove_defconfig                | 2 +-
 arch/arm/configs/imx_v6_v7_defconfig           | 1 +
 arch/arm/configs/keystone_defconfig            | 1 +
 arch/arm/configs/kirkwood_defconfig            | 1 +
 arch/arm/configs/koelsch_defconfig             | 1 +
 arch/arm/configs/lager_defconfig               | 1 +
 arch/arm/configs/lpc32xx_defconfig             | 2 +-
 arch/arm/configs/multi_v5_defconfig            | 1 +
 arch/arm/configs/multi_v7_defconfig            | 1 +
 arch/arm/configs/mvebu_v5_defconfig            | 1 +
 arch/arm/configs/mvebu_v7_defconfig            | 1 +
 arch/arm/configs/mxs_defconfig                 | 1 +
 arch/arm/configs/sama5_defconfig               | 2 +-
 arch/arm/configs/shmobile_defconfig            | 1 +
 arch/arm/configs/tegra_defconfig               | 1 +
 arch/blackfin/configs/BF526-EZBRD_defconfig    | 2 +-
 arch/blackfin/configs/BF527-EZKIT-V2_defconfig | 2 +-
 arch/blackfin/configs/BF527-EZKIT_defconfig    | 2 +-
 arch/blackfin/configs/BF548-EZKIT_defconfig    | 2 +-
 arch/blackfin/configs/BF609-EZKIT_defconfig    | 2 +-
 arch/blackfin/configs/BlackStamp_defconfig     | 3 +--
 arch/blackfin/configs/H8606_defconfig          | 3 +--
 arch/mips/configs/ath79_defconfig              | 3 +--
 arch/mips/configs/db1xxx_defconfig             | 1 +
 arch/mips/configs/rt305x_defconfig             | 2 +-
 arch/powerpc/configs/corenet32_smp_defconfig   | 2 +-
 arch/powerpc/configs/corenet64_smp_defconfig   | 2 +-
 arch/powerpc/configs/mpc85xx_defconfig         | 2 +-
 arch/powerpc/configs/mpc85xx_smp_defconfig     | 2 +-
 arch/sh/configs/sh7757lcr_defconfig            | 2 +-
 31 files changed, 31 insertions(+), 21 deletions(-)

-- 
1.8.3.2

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

* [PATCH v2 11/12] powerpc: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
  2014-05-01  6:26 [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem dependency for M25P80) Brian Norris
@ 2014-05-01  6:26 ` Brian Norris
  2014-08-07 21:36 ` [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem " Geert Uytterhoeven
  1 sibling, 0 replies; 3+ messages in thread
From: Brian Norris @ 2014-05-01  6:26 UTC (permalink / raw)
  To: Linux Kernel
  Cc: Marek Vasut, Huang Shijie, linux-mtd, Paul Mackerras,
	Brian Norris, linuxppc-dev

These defconfigs contain the CONFIG_M25P80 symbol, which is now
dependent on the MTD_SPI_NOR symbol. Add CONFIG_MTD_SPI_NOR to satisfy
the new dependency.

At the same time, drop the now-nonexistent CONFIG_MTD_CHAR symbol.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
---
 arch/powerpc/configs/corenet32_smp_defconfig | 2 +-
 arch/powerpc/configs/corenet64_smp_defconfig | 2 +-
 arch/powerpc/configs/mpc85xx_defconfig       | 2 +-
 arch/powerpc/configs/mpc85xx_smp_defconfig   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/configs/corenet32_smp_defconfig
index bbd794deb6eb..fceaa893d37c 100644
--- a/arch/powerpc/configs/corenet32_smp_defconfig
+++ b/arch/powerpc/configs/corenet32_smp_defconfig
@@ -69,7 +69,6 @@ CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_CFI=y
 CONFIG_MTD_CFI_AMDSTD=y
@@ -78,6 +77,7 @@ CONFIG_MTD_M25P80=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_FSL_ELBC=y
 CONFIG_MTD_NAND_FSL_IFC=y
+CONFIG_MTD_SPI_NOR=y
 CONFIG_PROC_DEVICETREE=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig
index 5c7fa19ae4ef..9c8d58a50df2 100644
--- a/arch/powerpc/configs/corenet64_smp_defconfig
+++ b/arch/powerpc/configs/corenet64_smp_defconfig
@@ -61,7 +61,6 @@ CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_OF_PARTS=y
 CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLKDEVS=y
 CONFIG_MTD_BLOCK=y
 CONFIG_FTL=y
@@ -82,6 +81,7 @@ CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_IDS=y
 CONFIG_MTD_NAND_FSL_ELBC=y
 CONFIG_MTD_NAND_FSL_IFC=y
+CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MTD_UBI_BEB_RESERVE=1
diff --git a/arch/powerpc/configs/mpc85xx_defconfig b/arch/powerpc/configs/mpc85xx_defconfig
index 19f0fbe5ba4b..33d9c8aef4eb 100644
--- a/arch/powerpc/configs/mpc85xx_defconfig
+++ b/arch/powerpc/configs/mpc85xx_defconfig
@@ -83,7 +83,6 @@ CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_OF_PARTS=y
 CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLKDEVS=y
 CONFIG_MTD_BLOCK=y
 CONFIG_FTL=y
@@ -104,6 +103,7 @@ CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_IDS=y
 CONFIG_MTD_NAND_FSL_ELBC=y
 CONFIG_MTD_NAND_FSL_IFC=y
+CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MTD_UBI_BEB_RESERVE=1
diff --git a/arch/powerpc/configs/mpc85xx_smp_defconfig b/arch/powerpc/configs/mpc85xx_smp_defconfig
index 062312e1fe1a..25174f9a6615 100644
--- a/arch/powerpc/configs/mpc85xx_smp_defconfig
+++ b/arch/powerpc/configs/mpc85xx_smp_defconfig
@@ -86,7 +86,6 @@ CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_MTD=y
 CONFIG_MTD_OF_PARTS=y
 CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLKDEVS=y
 CONFIG_MTD_BLOCK=y
 CONFIG_FTL=y
@@ -107,6 +106,7 @@ CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_IDS=y
 CONFIG_MTD_NAND_FSL_ELBC=y
 CONFIG_MTD_NAND_FSL_IFC=y
+CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MTD_UBI_BEB_RESERVE=1
-- 
1.8.3.2

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

* Re: [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem dependency for M25P80)
  2014-05-01  6:26 [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem dependency for M25P80) Brian Norris
  2014-05-01  6:26 ` [PATCH v2 11/12] powerpc: defconfigs: add MTD_SPI_NOR (new " Brian Norris
@ 2014-08-07 21:36 ` Geert Uytterhoeven
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2014-08-07 21:36 UTC (permalink / raw)
  To: Brian Norris
  Cc: Andrew Lunn, Stephen Warren, Linux MIPS Mailing List,
	Nicolas Ferre, Thierry Reding, MTD Maling List, Marek Vasut,
	Russell King, Linux-sh list, Shawn Guo,
	Jean-Christophe Plagniol-Villard, Sebastian Hesselbarth,
	Roland Stigge, Jason Cooper, Arnd Bergmann, Steven Miao,
	adi-buildroot-devel@lists.sourceforge.net, Simon Horman,
	linux-tegra, Andrew Victor, linux-arm-kernel@lists.infradead.org,
	Linux Kernel, Ralf Baechle, Huang Shijie, Santosh Shilimkar,
	Sascha Hauer, Olof Johansson, Paul Mackerras,
	linuxppc-dev@lists.ozlabs.org

Hi Brian,

On Thu, May 1, 2014 at 8:26 AM, Brian Norris
<computersforpeace@gmail.com> wrote:
> v1 --> v2: split ARM defconfig changes into their sub-architectures. No change
>            in the overall diff.
>
> Hi all,
>
> We are introducing a new SPI-NOR subsystem/framework for MTD, to support
> various types of SPI-NOR flash controllers which require (or benefit from)
> intimate knowledge of the flash interface, rather than just the relatively dumb
> SPI interface. This framework borrows much of the m25p80 driver for its
> abstraction and moves this code into a spi-nor module.
>
> This means CONFIG_M25P80 now has a dependency on CONFIG_MTD_SPI_NOR, which
> should be added to the defconfigs. I expect that each (sub)architecture
> maintainer can merge these patches to their own tree.
>
> Note that without the new CONFIG_MTD_SPI_NOR symbol in your defconfig, Kconfig
> will automatically drop M25P80 for you.
>
> Please keep general comments to the cover letter, so all parties can see.
>
> This series is based on 3.15-rc1.
>
> The SPI-NOR development code (in -next, queued for 3.16) is here:
>
>   git://git.infradead.org/l2-mtd.git +spinor
>
> This defconfig series is available in the same repo at:
>
>   git://git.infradead.org/l2-mtd.git +defconfigs
>
> Thanks,
> Brian
>
> Brian Norris (12):
>   ARM: imx/mxs defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
>   ARM: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
>   ARM: keystone: add MTD_SPI_NOR (new dependency for M25P80)
>   ARM: tegra: add MTD_SPI_NOR (new dependency for M25P80)
>   ARM: lpc32xx: add MTD_SPI_NOR (new dependency for M25P80)
>   ARM: at91: add MTD_SPI_NOR (new dependency for M25P80)
>   ARM: shmobile: add MTD_SPI_NOR (new dependency for M25P80)
>   ARM: marvell: add MTD_SPI_NOR (new dependency for M25P80)
>   blackfin: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
>   mips: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
>   powerpc: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)
>   sh: defconfig: add MTD_SPI_NOR (new dependency for M25P80)
>
>  arch/arm/configs/bockw_defconfig               | 2 +-
>  arch/arm/configs/dove_defconfig                | 2 +-
>  arch/arm/configs/imx_v6_v7_defconfig           | 1 +
>  arch/arm/configs/keystone_defconfig            | 1 +
>  arch/arm/configs/kirkwood_defconfig            | 1 +
>  arch/arm/configs/koelsch_defconfig             | 1 +
>  arch/arm/configs/lager_defconfig               | 1 +
>  arch/arm/configs/lpc32xx_defconfig             | 2 +-
>  arch/arm/configs/multi_v5_defconfig            | 1 +
>  arch/arm/configs/multi_v7_defconfig            | 1 +
>  arch/arm/configs/mvebu_v5_defconfig            | 1 +
>  arch/arm/configs/mvebu_v7_defconfig            | 1 +
>  arch/arm/configs/mxs_defconfig                 | 1 +
>  arch/arm/configs/sama5_defconfig               | 2 +-
>  arch/arm/configs/shmobile_defconfig            | 1 +
>  arch/arm/configs/tegra_defconfig               | 1 +
>  arch/blackfin/configs/BF526-EZBRD_defconfig    | 2 +-
>  arch/blackfin/configs/BF527-EZKIT-V2_defconfig | 2 +-
>  arch/blackfin/configs/BF527-EZKIT_defconfig    | 2 +-
>  arch/blackfin/configs/BF548-EZKIT_defconfig    | 2 +-
>  arch/blackfin/configs/BF609-EZKIT_defconfig    | 2 +-
>  arch/blackfin/configs/BlackStamp_defconfig     | 3 +--
>  arch/blackfin/configs/H8606_defconfig          | 3 +--
>  arch/mips/configs/ath79_defconfig              | 3 +--
>  arch/mips/configs/db1xxx_defconfig             | 1 +
>  arch/mips/configs/rt305x_defconfig             | 2 +-
>  arch/powerpc/configs/corenet32_smp_defconfig   | 2 +-
>  arch/powerpc/configs/corenet64_smp_defconfig   | 2 +-
>  arch/powerpc/configs/mpc85xx_defconfig         | 2 +-
>  arch/powerpc/configs/mpc85xx_smp_defconfig     | 2 +-
>  arch/sh/configs/sh7757lcr_defconfig            | 2 +-
>  31 files changed, 31 insertions(+), 21 deletions(-)

FWIW, this change still hasn't propagated to the following defconfigs:

arch/arm/configs/axm55xx_defconfig
arch/arm/configs/bockw_defconfig
arch/arm/configs/koelsch_defconfig
arch/arm/configs/lager_defconfig
arch/arm/configs/lpc32xx_defconfig
arch/arm/configs/multi_v5_defconfig
arch/arm/configs/multi_v7_defconfig
arch/arm/configs/qcom_defconfig
arch/arm/configs/sama5_defconfig
arch/arm/configs/shmobile_defconfig
arch/powerpc/configs/85xx/kmp204x_defconfig
arch/powerpc/configs/corenet32_smp_defconfig
arch/powerpc/configs/corenet64_smp_defconfig
arch/powerpc/configs/mpc85xx_defconfig
arch/powerpc/configs/mpc85xx_smp_defconfig
arch/sh/configs/sh7757lcr_defconfig

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-01  6:26 [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem dependency for M25P80) Brian Norris
2014-05-01  6:26 ` [PATCH v2 11/12] powerpc: defconfigs: add MTD_SPI_NOR (new " Brian Norris
2014-08-07 21:36 ` [PATCH v2 00/12] defconfigs: add MTD_SPI_NOR (new subsystem " Geert Uytterhoeven

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).