habanalabs: load boot fit to device
authorOhad Sharabi <osharabi@habana.ai>
Sun, 11 Apr 2021 07:32:18 +0000 (10:32 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:39 +0000 (15:23 +0300)
commit8a43c83fec120185db1308a2641a310d15243a79
tree1442297b8ea8c0fe8ab79f6fdbe7da6f92cd1ba2
parentb8e785c559c066e747d3391c126ea19db9d5e736
habanalabs: load boot fit to device

Implementing dynamic boot fit image load to the device.
Note that some necessary adjustment were added to the static loader as
well so that both loaders can co-exist.
as this is not the final FW load stage the dynamic FW load is still
forced to be non functional.

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
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c