diff options
author | Thomas Gleixner <tglx@cruncher.tec.linutronix.de> | 2006-05-26 18:52:08 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@cruncher.tec.linutronix.de> | 2006-05-26 18:52:08 +0200 |
commit | f75e5097ef298c5a0aa106faa211d1afdc92dc3d (patch) | |
tree | 0de4534e9ae54cf5d17ea9ef20acefb931167eee /drivers/mtd/nand/diskonchip.c | |
parent | e4d222ff18bca6322f032088a21e9c4a4c038b85 (diff) | |
download | op-kernel-dev-f75e5097ef298c5a0aa106faa211d1afdc92dc3d.zip op-kernel-dev-f75e5097ef298c5a0aa106faa211d1afdc92dc3d.tar.gz |
[MTD] NAND modularize write function
Modularize the write function and reorganaize the internal buffer
management. Remove obsolete chip options and fixup all affected
users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/nand/diskonchip.c')
-rw-r--r-- | drivers/mtd/nand/diskonchip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c index 83af6f0..82262a4a 100644 --- a/drivers/mtd/nand/diskonchip.c +++ b/drivers/mtd/nand/diskonchip.c @@ -1666,7 +1666,7 @@ static int __init doc_probe(unsigned long physadr) nand->ecc.mode = NAND_ECC_HW_SYNDROME; nand->ecc.size = 512; nand->ecc.bytes = 6; - nand->options = NAND_USE_FLASH_BBT | NAND_HWECC_SYNDROME; + nand->options = NAND_USE_FLASH_BBT; doc->physadr = physadr; doc->virtadr = virtadr; |