/* omap_write_buf_dma_pref - write buffer to NAND controller @mtd: MTD device structure @buf: data buffer @len: number of bytes to write  */
static void omap_write_buf_dma_pref(struct mtd_info *mtd, const u_char *buf, int len)
/* omap_write_buf_dma_pref - write buffer to NAND controller @mtd: MTD device structure @buf: data buffer @len: number of bytes to write  */
static void omap_write_buf_dma_pref(struct mtd_info *mtd, const u_char *buf, int len)
{
	if (len <= mtd->oobsize)
		omap_write_buf_pref(mtd, buf, len);
	else
		omap_nand_dma_transfer(mtd, buf, len, 0x1);
}