From: Hector Martin Date: Mon, 21 Mar 2022 21:36:05 +0000 (+0100) Subject: arm: apple: Increase RTKit timeout X-Git-Tag: baikal/mips/sdk5.9~7^2^2~10^2~5 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=f81cfde863fdfd76af79e0177f043f1b40777767;p=uboot.git 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: Hector Martin Signed-off-by: Mark Kettenis Reviewed-by: Simon Glass --- diff --git a/arch/arm/mach-apple/rtkit.c b/arch/arm/mach-apple/rtkit.c index dff475cab7..2dcb8bdd3e 100644 --- a/arch/arm/mach-apple/rtkit.c +++ b/arch/arm/mach-apple/rtkit.c @@ -170,7 +170,7 @@ wait_epmap: pwrstate = APPLE_RTKIT_PWR_STATE_SLEEP; while (pwrstate != APPLE_RTKIT_PWR_STATE_ON) { - ret = mbox_recv(chan, &msg, 100000); + ret = mbox_recv(chan, &msg, 1000000); if (ret < 0) return ret;