OSDN Git Service

habanalabs: modify wait for boot fit in dynamic FW load
authorOhad Sharabi <osharabi@habana.ai>
Sun, 17 Oct 2021 05:40:28 +0000 (08:40 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:03 +0000 (08:59 +0200)
commitc9d1383c75c95be55d9207e8a8d5c7c1659a029e
treefce4be1c3cdd359b1b3521e8d4724de16a0ec352
parent1bb866dcb8cf5054de88f592fc0ec1f275ad9d63
habanalabs: modify wait for boot fit in dynamic FW load

In the dynamic FW load protocol the boot status is updated to
"Ready to Boot" once uboot is active.

Polling on other boot status values is a residue of code duplication
from the static protocol and should be removed.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/firmware_if.c