From a205b87a87015c59a548ecb1c685585fee9a8a84 Mon Sep 17 00:00:00 2001 From: zhaoyifeng Date: Tue, 14 Jun 2011 18:36:04 +0800 Subject: [PATCH] nand change erase size to 32 sectors. --- drivers/mtd/rknand/rknand_base_ko.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/rknand/rknand_base_ko.c b/drivers/mtd/rknand/rknand_base_ko.c index f8b6c48c18a3..7ee13b22fa93 100755 --- a/drivers/mtd/rknand/rknand_base_ko.c +++ b/drivers/mtd/rknand/rknand_base_ko.c @@ -224,7 +224,7 @@ static int rk28xxnand_init(struct rknand_info *nand_info) mtd->oobsize = 0; mtd->oobavail = 0; mtd->ecclayout = 0; - mtd->erasesize = 8*0x200; + mtd->erasesize = 32*0x200; mtd->writesize = 8*0x200; // Fill in remaining MTD driver data -- 2.34.1