/* The length will be 0 if the markeris located in OOB area.  */
static u32 add_marker_len(struct nand_bbt_descr *td)
/* The length will be 0 if the markeris located in OOB area.  */
static u32 add_marker_len(struct nand_bbt_descr *td)
{
	u32 len;
	if (!(td->options & NAND_BBT_NO_OOB))
		return 0;
	len = td->len;
	if (td->options & NAND_BBT_VERSION)
		len++;
	return len;
}