diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-12-31 19:18:10 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-01-02 19:53:55 +0100 |
commit | 7bb79f0f51e2c925ca99c82232e805569e9c39f2 (patch) | |
tree | 93682132b8284960e210b2ec145477eedab29ca5 /src/flash | |
parent | 52044a17ce20d4f5cb432f33b99c07bd650b090e (diff) | |
download | riscv-openocd-7bb79f0f51e2c925ca99c82232e805569e9c39f2.zip riscv-openocd-7bb79f0f51e2c925ca99c82232e805569e9c39f2.tar.gz riscv-openocd-7bb79f0f51e2c925ca99c82232e805569e9c39f2.tar.bz2 |
NAND/CORE: Comment use of alive_sleep()
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nand/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/nand/core.c b/src/flash/nand/core.c index d05fafd..88a16cc 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); } |