diff options
author | Sandeep Paulraj <s-paulraj@ti.com> | 2009-11-07 14:24:34 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-11-13 16:56:15 -0600 |
commit | aad4a28b2518e1d24ee606d9ea31f9b4dd029777 (patch) | |
tree | dc7fdb889f8e7ff4090db5e0df6f21312fa5a17f /drivers/mtd/nand | |
parent | 36e0b98ec832bb5ec42d6e249058d5b84f75dff8 (diff) | |
download | u-boot-imx-aad4a28b2518e1d24ee606d9ea31f9b4dd029777.zip u-boot-imx-aad4a28b2518e1d24ee606d9ea31f9b4dd029777.tar.gz u-boot-imx-aad4a28b2518e1d24ee606d9ea31f9b4dd029777.tar.bz2 |
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 <s-paulraj@ti.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | 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 7446634..b3b2be2 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; } |