mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
NAND/CORE: Comment use of alive_sleep()
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Øyvind Harboe
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))
|
||||
return ERROR_NAND_OPERATION_TIMEOUT;
|
||||
} else {
|
||||
/* nand_poll_read() cannot be used during nand read */
|
||||
alive_sleep(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user