aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 eeab0b7ee2f..7888e5f2703 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. */