diff options
Diffstat (limited to 'drivers/mtd/nand/s3c2410.c')
-rw-r--r-- | drivers/mtd/nand/s3c2410.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 8e375d5fe231..776756e4ebe5 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -215,9 +215,9 @@ static int s3c2410_nand_setrate(struct s3c2410_nand_info *info) | |||
215 | 215 | ||
216 | case TYPE_S3C2440: | 216 | case TYPE_S3C2440: |
217 | case TYPE_S3C2412: | 217 | case TYPE_S3C2412: |
218 | mask = (S3C2410_NFCONF_TACLS(tacls_max - 1) | | 218 | mask = (S3C2440_NFCONF_TACLS(tacls_max - 1) | |
219 | S3C2410_NFCONF_TWRPH0(7) | | 219 | S3C2440_NFCONF_TWRPH0(7) | |
220 | S3C2410_NFCONF_TWRPH1(7)); | 220 | S3C2440_NFCONF_TWRPH1(7)); |
221 | 221 | ||
222 | set = S3C2440_NFCONF_TACLS(tacls - 1); | 222 | set = S3C2440_NFCONF_TACLS(tacls - 1); |
223 | set |= S3C2440_NFCONF_TWRPH0(twrph0 - 1); | 223 | set |= S3C2440_NFCONF_TWRPH0(twrph0 - 1); |