mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
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: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
2a2c4b7403
commit
7886acb60b
@ -2496,6 +2496,7 @@ static void goya_init_firmware_loader(struct hl_device *hdev)
|
||||
struct fw_load_mgr *fw_loader = &hdev->fw_loader;
|
||||
|
||||
/* fill common fields */
|
||||
fw_loader->linux_loaded = false;
|
||||
fw_loader->boot_fit_img.image_name = GOYA_BOOT_FIT_FILE;
|
||||
fw_loader->linux_img.image_name = GOYA_LINUX_FW_FILE;
|
||||
fw_loader->cpu_timeout = GOYA_CPU_TIMEOUT_USEC;
|
||||
|
Loading…
Reference in New Issue
Block a user