[U-Boot] [PATCH] NAND: Subpage shift for ecc_steps equal to 16
s-paulraj at ti.com
s-paulraj at ti.com
Fri Nov 6 18:09:09 CET 2009
From: Sandeep Paulraj <s-paulraj at ti.com>
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.
Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
---
Applies to u-boot-nand-flash/next
drivers/mtd/nand/nand_base.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index b928cfc..877063b 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2991,6 +2991,7 @@ int nand_scan_tail(struct mtd_info *mtd)
break;
case 4:
case 8:
+ case 16:
mtd->subpage_sft = 2;
break;
}
--
1.6.0.4
More information about the U-Boot
mailing list