Ejemplo n.º 1
0
int mark_block_bad_bmt(u32 offset, u32 bmt_block)
{
#if	defined(TCSUPPORT_CPU_MT7510)||defined(TCSUPPORT_CPU_MT7520)
	return mt6573_nand_block_markbad_hw(mtd_bmt, offset, bmt_block);
#else
    return mt6573_nand_block_markbad_hw(nand_chip_bmt, offset, bmt_block);
#endif
}
Ejemplo n.º 2
0
int mark_block_bad_bmt(u32 offset)
{
    return mt6573_nand_block_markbad_hw(mtd_bmt, offset);             //mark_block_bad_hw(offset);
}