From: Sandeep Paulraj Date: Sat, 7 Nov 2009 19:24:34 +0000 (-0500) Subject: NAND: Subpage shift for ecc_steps equal to 16 X-Git-Tag: v2010.03-rc1~200^2~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aad4a28b2518e1d24ee606d9ea31f9b4dd029777;p=oweals%2Fu-boot.git NAND: Subpage shift for ecc_steps equal to 16 This was originally part of Thomas Gleixner's patch for adding support for 4KiB pages. This is not part of the U-Boot NAND driver so updating the driver with this to sync up with the kernel NAND driver. Signed-off-by: Sandeep Paulraj --- diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 7446634422..b3b2be2115 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -2895,6 +2895,7 @@ int nand_scan_tail(struct mtd_info *mtd) break; case 4: case 8: + case 16: mtd->subpage_sft = 2; break; }