drivers: rkflash: The vendor requires the devices to be patched
When there is data outside of OIP in the status, the status data is inaccurate and needs to be reconfirmed. Change-Id: Ifb99d16bce53151252b5dfdfba4ac7077ed40775 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@ -946,6 +946,9 @@ u32 sfc_nand_read(u32 row, u32 *p_page_buf, u32 column, u32 len)
|
||||
sfc_nand_rw_preset();
|
||||
|
||||
sfc_nand_wait_busy(&status, 1000 * 1000);
|
||||
if (sfc_nand_dev.manufacturer == 0x01 && status)
|
||||
sfc_nand_wait_busy(&status, 1000 * 1000);
|
||||
|
||||
ecc_result = p_nand_info->ecc_status();
|
||||
|
||||
op.sfcmd.d32 = 0;
|
||||
|
||||
Reference in New Issue
Block a user