aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/gpmi1/gpmi.h
diff options
context:
space:
mode:
authorPatrick Turley <patrick.turley@freescale.com>2010-03-26 17:54:18 -0500
committerPatrick Turley <patrick.turley@freescale.com>2010-03-26 17:55:59 -0500
commitbce7c35ca96a68c2d1b0d156c2cb00abc87cad6f (patch)
tree5116728ff1e1dba3720cdd2387d622542ca7215e /drivers/mtd/nand/gpmi1/gpmi.h
parent49de29931ade68f33ce01b683c702a24a2ad7b6f (diff)
ENGR00122062 Interim i.MX28 NAND Flash driver change to support bootingrel_imx_2.6.31_10.03.00
Changed the driver to detect ECC-based writes to the boot area and write a byte to the OOB that matches the ROM behavior. Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
Diffstat (limited to 'drivers/mtd/nand/gpmi1/gpmi.h')
-rw-r--r--drivers/mtd/nand/gpmi1/gpmi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/gpmi1/gpmi.h b/drivers/mtd/nand/gpmi1/gpmi.h
index 45db15c3b7ba..072c2ad2f442 100644
--- a/drivers/mtd/nand/gpmi1/gpmi.h
+++ b/drivers/mtd/nand/gpmi1/gpmi.h
@@ -288,6 +288,8 @@ struct gpmi_nand_data {
struct nand_device_info device_info;
+ unsigned last_write_page_address;
+
#if defined(CONFIG_MTD_PARTITIONS)
struct mtd_info *general_use_mtd;
struct mtd_partition *partitions;