summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/gpmi1/gpmi-bbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/gpmi1/gpmi-bbt.c')
-rw-r--r--drivers/mtd/nand/gpmi1/gpmi-bbt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/gpmi1/gpmi-bbt.c b/drivers/mtd/nand/gpmi1/gpmi-bbt.c
index eeab0b7ee2f9..7888e5f2703d 100644
--- a/drivers/mtd/nand/gpmi1/gpmi-bbt.c
+++ b/drivers/mtd/nand/gpmi1/gpmi-bbt.c
@@ -157,6 +157,7 @@ static void gpmi_write_fcbs(struct mtd_info *mtd)
ops.oobbuf = (u8 *)fcb + mtd->writesize;
ops.ooblen = mtd->oobsize;
ops.ooboffs = 0;
+ ops.mode = MTD_OOB_RAW;
/* Loop over FCB locations in the search area. */