Commit 7886acb6 authored by Oded Gabbay's avatar Oded Gabbay

habanalabs/goya: add missing initialization

Need to initialize f/w Linux loaded indication to false to prevent
wrong communication with the f/w.
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 2a2c4b74
...@@ -2496,6 +2496,7 @@ static void goya_init_firmware_loader(struct hl_device *hdev) ...@@ -2496,6 +2496,7 @@ static void goya_init_firmware_loader(struct hl_device *hdev)
struct fw_load_mgr *fw_loader = &hdev->fw_loader; struct fw_load_mgr *fw_loader = &hdev->fw_loader;
/* fill common fields */ /* fill common fields */
fw_loader->linux_loaded = false;
fw_loader->boot_fit_img.image_name = GOYA_BOOT_FIT_FILE; fw_loader->boot_fit_img.image_name = GOYA_BOOT_FIT_FILE;
fw_loader->linux_img.image_name = GOYA_LINUX_FW_FILE; fw_loader->linux_img.image_name = GOYA_LINUX_FW_FILE;
fw_loader->cpu_timeout = GOYA_CPU_TIMEOUT_USEC; fw_loader->cpu_timeout = GOYA_CPU_TIMEOUT_USEC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment