From: Antonio Borneo Date: Fri, 31 Dec 2010 11:18:10 +0000 (+0800) Subject: NAND/CORE: Comment use of alive_sleep() X-Git-Tag: v0.5.0-rc1~247 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7bb79f0f51e2c925ca99c82232e805569e9c39f2;p=openocd NAND/CORE: Comment use of alive_sleep() Signed-off-by: Antonio Borneo --- 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); }