/* omap_read_buf_dma_pref - read data from NAND controller into buffer @mtd: MTD device structure @buf: buffer to store date @len: number of bytes to read  */
static void omap_read_buf_dma_pref(struct mtd_info *mtd, u_char *buf, int len)
/* omap_read_buf_dma_pref - read data from NAND controller into buffer @mtd: MTD device structure @buf: buffer to store date @len: number of bytes to read  */
static void omap_read_buf_dma_pref(struct mtd_info *mtd, u_char *buf, int len)
{
	if (len <= mtd->oobsize)
		omap_read_buf_pref(mtd, buf, len);
	else
		omap_nand_dma_transfer(mtd, buf, len, 0x0);
}