Searched refs:bbt_options (Results 1 – 18 of 18) sorted by relevance
483 if (this->bbt_options & NAND_BBT_SCANLASTPAGE) in create_bbt()895 if (!(this->bbt_options & NAND_BBT_CREATE_EMPTY)) in check_create()1034 BUG_ON((this->bbt_options & NAND_BBT_NO_OOB) && in verify_bbt_descr()1035 !(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()1042 BUG_ON(!(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()1043 BUG_ON(!(this->bbt_options & NAND_BBT_NO_OOB)); in verify_bbt_descr()1264 bd->options = this->bbt_options & BADBLOCK_SCAN_MASK; in nand_create_badblock_pattern()1286 if (this->bbt_options & NAND_BBT_USE_FLASH) { in nand_default_bbt()1289 if (this->bbt_options & NAND_BBT_NO_OOB) { in nand_default_bbt()1369 if (this->bbt_options & NAND_BBT_USE_FLASH) in nand_markbad_bbt()
352 if (chip->bbt_options & NAND_BBT_SCANLASTPAGE) in nand_block_bad()379 } while (!res && i < 2 && (chip->bbt_options & NAND_BBT_SCAN2NDPAGE)); in nand_block_bad()412 if (chip->bbt_options & NAND_BBT_SCANLASTPAGE) in nand_default_block_markbad()421 } while ((chip->bbt_options & NAND_BBT_SCAN2NDPAGE) && i < 2); in nand_default_block_markbad()448 if (!(chip->bbt_options & NAND_BBT_NO_OOB_BBM)) { in nand_block_markbad_lowlevel()3712 chip->bbt_options |= NAND_BBT_SCANLASTPAGE; in nand_decode_bbm_options()3721 chip->bbt_options |= NAND_BBT_SCAN2NDPAGE; in nand_decode_bbm_options()3946 chip->bbt_options |= NAND_BBT_USE_FLASH; in nand_dt_init()4372 BUG_ON((chip->bbt_options & NAND_BBT_NO_OOB_BBM) && in nand_scan_tail()4373 !(chip->bbt_options & NAND_BBT_USE_FLASH)); in nand_scan_tail()
575 lpc32xx_chip.bbt_options |= NAND_BBT_USE_FLASH | NAND_BBT_LASTBLOCK in board_nand_init()
590 lpc32xx_chip->bbt_options |= NAND_BBT_USE_FLASH; in board_nand_init()
787 nand->bbt_options |= NAND_BBT_USE_FLASH; in davinci_nand_init()
1409 nand->bbt_options |= NAND_BBT_USE_FLASH; in board_nand_init()1479 nand->bbt_options |= NAND_BBT_USE_FLASH; in atmel_nand_chip_init()
1283 chip->bbt_options |= NAND_BBT_USE_FLASH; in denali_init()1284 chip->bbt_options |= NAND_BBT_NO_OOB; in denali_init()
694 chip->bbt_options = NAND_BBT_USE_FLASH | NAND_BBT_NO_OOB | in vf610_nfc_nand_init()
719 nand->bbt_options = NAND_BBT_USE_FLASH; in fsl_elbc_chip_init()
1718 if (nand->bbt_options & NAND_BBT_USE_FLASH) in sunxi_nand_chip_init()1719 nand->bbt_options |= NAND_BBT_NO_OOB; in sunxi_nand_chip_init()
1214 nand->bbt_options |= NAND_BBT_USE_FLASH | NAND_BBT_NO_OOB; in mxs_nand_init_ctrl()
936 nand->bbt_options = NAND_BBT_USE_FLASH; in fsl_ifc_chip_init()
1100 nand_chip->bbt_options = NAND_BBT_USE_FLASH; in zynq_nand_init()
1212 nand_chip->bbt_options = NAND_BBT_USE_FLASH; in arasan_nand_init()
1152 this->bbt_options |= NAND_BBT_USE_FLASH;
1416 chip->bbt_options |= NAND_BBT_USE_FLASH | NAND_BBT_NO_OOB_BBM; in pxa3xx_nand_scan()
908 unsigned int bbt_options; member1122 unsigned int bbt_options; member
305 printf(" bbt options 0x%08x\n", chip->bbt_options); in nand_print_and_set_info()