]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8456c79ace1da1c9142ffccc1ae3abaaaf65729d
treefce4be1c3cdd359b1b3521e8d4724de16a0ec352
parentf1597284497a9aa89d8e42f229a6b24484b916c7
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