Skip to content
Snippets Groups Projects
Commit 66899c8d authored by Hector Martin's avatar Hector Martin Committed by Tom Rini
Browse files

arm: apple: Increase RTKit timeout


The firmware on larger NVMe drives needs more than 100ms to come up.
Change the timeout to 1s.

Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Signed-off-by: default avatarMark Kettenis <kettenis@openbsd.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent c259b197
No related merge requests found
...@@ -170,7 +170,7 @@ wait_epmap: ...@@ -170,7 +170,7 @@ wait_epmap:
pwrstate = APPLE_RTKIT_PWR_STATE_SLEEP; pwrstate = APPLE_RTKIT_PWR_STATE_SLEEP;
while (pwrstate != APPLE_RTKIT_PWR_STATE_ON) { while (pwrstate != APPLE_RTKIT_PWR_STATE_ON) {
ret = mbox_recv(chan, &msg, 100000); ret = mbox_recv(chan, &msg, 1000000);
if (ret < 0) if (ret < 0)
return ret; return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment