add protection against running cf2nand from yaffs2