int nand_read_page_bmt(u32 page, u8 * dat, u8 * oob) { // int offset, start, len, i; return mtk_nand_read_page_hw(page, dat, oob); //return false; /* offset = 0; for (i = 0; i < MTD_MAX_OOBFREE_ENTRIES && nand_oob->oobfree[i].length; i++) { start = nand_oob->oobfree[i].offset; len = nand_oob->oobfree[i].length; memcpy(buf + PAGE_SIZE_BMT + offset, g_nand_spare + start, len);; offset += len; } return true; */ }
int nand_read_page_bmt(u32 page, u8 *dat, u8 *oob) { return mtk_nand_read_page_hw(page, dat, oob); }
int nand_read_page_bmt(u32 page, u8 *dat, u8 *oob) { // int offset, start, len, i; return mtk_nand_read_page_hw(page, dat, oob); //return false; }