Index: drivers/mtd/nand/s3c2410.c =================================================================== RCS file: /home/cvs/mtd/drivers/mtd/nand/s3c2410.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -p -r1.22 -r1.23 --- drivers/mtd/nand/s3c2410.c 15 Mar 2006 22:32:08 -0000 1.22 +++ drivers/mtd/nand/s3c2410.c 1 Apr 2006 18:06:29 -0000 1.23 @@ -20,7 +20,7 @@ * 20-Oct-2005 BJD Fix timing calculation bug * 14-Jan-2006 BJD Allow clock to be stopped when idle * - * $Id: s3c2410.c,v 1.22 2006/03/15 22:32:08 bjd Exp $ + * $Id: s3c2410.c,v 1.23 2006/04/01 18:06:29 bjd Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -218,6 +218,11 @@ static int s3c2410_nand_inithw(struct s3 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);