mtd/drivers/mtd/nand s3c2410.c,1.22,1.23

bjd at infradead.org bjd at infradead.org
Sat Apr 1 13:06:32 EST 2006


Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv15703

Modified Files:
	s3c2410.c 
Log Message:
Fix S3C2440 initialisation of S3C2440_NFCONT
to ensure the NAND controller is enabled, and
none of the extended features are enabled by
default

Signed-off-by: Ben Dooks <ben-linux at fluff.org>


Index: s3c2410.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/s3c2410.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- s3c2410.c	15 Mar 2006 22:32:08 -0000	1.22
+++ s3c2410.c	1 Apr 2006 18:06:29 -0000	1.23
@@ -218,6 +218,11 @@
 		cfg   = S3C2440_NFCONF_TACLS(tacls-1);
 		cfg  |= S3C2440_NFCONF_TWRPH0(twrph0-1);
 		cfg  |= S3C2440_NFCONF_TWRPH1(twrph1-1);
+
+		/* enable the controller and de-assert nFCE */
+
+		writel(S3C2440_NFCONT_ENABLE | S3C2440_NFCONT_ENABLE,
+		       info->regs + S3C2440_NFCONT);
 	}
 
 	pr_debug(PFX "NF_CONF is 0x%lx\n", cfg);





More information about the linux-mtd-cvs mailing list