summaryrefslogtreecommitdiff
path: root/src/flash/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand.c')
-rw-r--r--src/flash/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c
index 3e63335f..a2d46cfd 100644
--- a/src/flash/nand.c
+++ b/src/flash/nand.c
@@ -355,7 +355,7 @@ int nand_read_status(struct nand_device_s *device, u8 *status)
/* Send read status command */
device->controller->command(device, NAND_CMD_STATUS);
- usleep(1000);
+ alive_sleep(1);
/* read status */
if (device->device->options & NAND_BUSWIDTH_16)