diff mbox

MTD: Nand: use MTD_NAND_OMAP2 for OMAP4

Message ID 1310727174-8183-1-git-send-email-j.weitzel@phytec.de
State New, archived
Headers show

Commit Message

Jan Weitzel July 15, 2011, 10:52 a.m. UTC
use MTD_NAND_OMAP2 also for OMAP4 arch.
testes wit omap4430

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
 drivers/mtd/nand/Kconfig |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Comments

Artem Bityutskiy July 20, 2011, 4:53 a.m. UTC | #1
On Fri, 2011-07-15 at 12:52 +0200, Jan Weitzel wrote:
>  config MTD_NAND_OMAP2
>  	tristate "NAND Flash device on OMAP2 and OMAP3"

I guess you need to add OMAP4 to the string above as well.

> -	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3)
> +	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4)
>  	help
> -          Support for NAND flash on Texas Instruments OMAP2 and OMAP3 platforms.
> +          Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
> +	  platforms.
diff mbox

Patch

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 4c34252..40e64b8 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -117,9 +117,10 @@  config MTD_NAND_AMS_DELTA
 
 config MTD_NAND_OMAP2
 	tristate "NAND Flash device on OMAP2 and OMAP3"
-	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3)
+	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4)
 	help
-          Support for NAND flash on Texas Instruments OMAP2 and OMAP3 platforms.
+          Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
+	  platforms.
 
 config MTD_NAND_IDS
 	tristate