summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nand/core.c b/src/flash/nand/core.c
index d05fafdd..88a16cc6 100644
--- a/src/flash/nand/core.c
+++ b/src/flash/nand/core.c
@@ -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);
}