NAND/CORE: Comment use of alive_sleep()
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>__archive__
parent
52044a17ce
commit
7bb79f0f51
|
@ -776,6 +776,7 @@ int nand_page_command(struct nand_device *nand, uint32_t page,
|
||||||
if (!nand->controller->nand_ready(nand, 100))
|
if (!nand->controller->nand_ready(nand, 100))
|
||||||
return ERROR_NAND_OPERATION_TIMEOUT;
|
return ERROR_NAND_OPERATION_TIMEOUT;
|
||||||
} else {
|
} else {
|
||||||
|
/* nand_poll_read() cannot be used during nand read */
|
||||||
alive_sleep(1);
|
alive_sleep(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue