[PATCH] mtd: enable sh_flctl on SH-Mobile ARM

Magnus Damm magnus.damm at gmail.com
Fri Feb 19 05:01:22 EST 2010


From: Magnus Damm <damm at 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 at 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(-)

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



More information about the linux-mtd mailing list