Patchwork mtd: enable sh_flctl on SH-Mobile ARM

login
register
mail settings
Submitter Magnus Damm
Date Feb. 19, 2010, 10:01 a.m.
Message ID <20100219100122.6122.78528.sendpatchset@t400s>
Download mbox | patch
Permalink /patch/45844/
State New
Headers show

Comments

Magnus Damm - Feb. 19, 2010, 10:01 a.m.
From: Magnus Damm <damm@opensource.se>

Update the Kconfig entry for the sh_flctl driver to
enable build on SH-Mobile ARM platforms.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Applies on top of the other FLCTL changes in the sh-2.6 git tree.

 drivers/mtd/nand/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

--- 0001/drivers/mtd/nand/Kconfig
+++ work/drivers/mtd/nand/Kconfig	2010-02-19 18:55:44.000000000 +0900
@@ -457,7 +457,7 @@  config MTD_NAND_NOMADIK
 
 config MTD_NAND_SH_FLCTL
 	tristate "Support for NAND on Renesas SuperH FLCTL"
-	depends on MTD_NAND && SUPERH
+	depends on MTD_NAND && (SUPERH || ARCH_SHMOBILE)
 	help
 	  Several Renesas SuperH CPU has FLCTL. This option enables support
 	  for NAND Flash using FLCTL.