From 7bb79f0f51e2c925ca99c82232e805569e9c39f2 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Fri, 31 Dec 2010 19:18:10 +0800 Subject: NAND/CORE: Comment use of alive_sleep() Signed-off-by: Antonio Borneo --- src/flash/nand/core.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3