Commit 1dd4fd87 authored by Florian Fainelli's avatar Florian Fainelli Committed by Miquel Raynal
Browse files

mtd: rawnand: brcmnand: Move Kconfig to driver folder



In preparation for allowing each of the brcmnand stub to be built
separately, move the Kconfig entry to the driver folder.

Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220711222323.4048197-2-f.fainelli@gmail.com
parent 049e43b9
Loading
Loading
Loading
Loading
+1 −21
Original line number Diff line number Diff line
@@ -200,27 +200,7 @@ config MTD_NAND_TMIO
	  Support for NAND flash connected to a Toshiba Mobile IO
	  Controller in some PDAs, including the Sharp SL6000x.

config MTD_NAND_BRCMNAND
	tristate "Broadcom STB NAND controller"
	depends on ARM || ARM64 || MIPS || COMPILE_TEST
	depends on HAS_IOMEM
	help
	  Enables the Broadcom NAND controller driver. The controller was
	  originally designed for Set-Top Box but is used on various BCM7xxx,
	  BCM3xxx, BCM63xxx, iProc/Cygnus and more.

if MTD_NAND_BRCMNAND

config MTD_NAND_BRCMNAND_BCMA
	tristate "Broadcom BCMA NAND controller"
	depends on BCMA_NFLASH
	depends on BCMA
	help
	  Enables the BRCMNAND controller over BCMA on BCM47186/BCM5358 SoCs.
	  The glue driver will take care of performing the low-level I/O
	  operations to interface the BRCMNAND controller over the BCMA bus.

endif # MTD_NAND_BRCMNAND
source "drivers/mtd/nand/raw/brcmnand/Kconfig"

config MTD_NAND_BCM47XXNFLASH
	tristate "BCM4706 BCMA NAND controller"
+21 −0
Original line number Diff line number Diff line
config MTD_NAND_BRCMNAND
	tristate "Broadcom STB NAND controller"
	depends on ARM || ARM64 || MIPS || COMPILE_TEST
	depends on HAS_IOMEM
	help
	  Enables the Broadcom NAND controller driver. The controller was
	  originally designed for Set-Top Box but is used on various BCM7xxx,
	  BCM3xxx, BCM63xxx, iProc/Cygnus and more.

if MTD_NAND_BRCMNAND

config MTD_NAND_BRCMNAND_BCMA
	tristate "Broadcom BCMA NAND controller"
	depends on BCMA_NFLASH
	depends on BCMA
	help
	  Enables the BRCMNAND controller over BCMA on BCM47186/BCM5358 SoCs.
	  The glue driver will take care of performing the low-level I/O
	  operations to interface the BRCMNAND controller over the BCMA bus.

endif # MTD_NAND_BRCMNAND