mtd: nand: consolidate redundant flash-based BBT flags
[deliverable/linux.git] / arch / arm / mach-davinci / board-mityomapl138.c
index c278226627ad01368e232ed9ab4b53399ebe2812..ef7ba494493dab5f338c69a98bb446a0e375d818 100644 (file)
@@ -396,7 +396,8 @@ static struct davinci_nand_pdata mityomapl138_nandflash_data = {
        .parts          = mityomapl138_nandflash_partition,
        .nr_parts       = ARRAY_SIZE(mityomapl138_nandflash_partition),
        .ecc_mode       = NAND_ECC_HW,
-       .options        = NAND_USE_FLASH_BBT | NAND_BUSWIDTH_16,
+       .bbt_options    = NAND_USE_FLASH_BBT,
+       .options        = NAND_BUSWIDTH_16,
        .ecc_bits       = 1, /* 4 bit mode is not supported with 16 bit NAND */
 };
 
This page took 0.033427 seconds and 5 git commands to generate.