Quellcode durchsuchen

driver: video: Migrate from split binaries to single binary firmware

Migrate from mdt way of loading split firmware binaries to single image
file i.e mbn. With firmware memory carved out, there is no benefit of
keeping firmware files as split.
Loading is improved to 6ms with single image binary.
MODULE_FIRMWARE can be introduced with single binary name to provide info
of the firmware associated with video module.

Change-Id: I7126705e4a32913166eb0671a8dc0d4db5ad8955
Signed-off-by: Vikash Garodia <[email protected]>
Vikash Garodia vor 4 Jahren
Ursprung
Commit
6072a60cdc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      driver/vidc/src/venus_hfi.c

+ 1 - 1
driver/vidc/src/venus_hfi.c

@@ -2493,7 +2493,7 @@ static int __load_fw_to_memory(struct platform_device *pdev,
 		d_vpr_e("%s: Invalid fw name\n", __func__);
 		return -EINVAL;
 	}
-	scnprintf(firmware_name, ARRAY_SIZE(firmware_name), "%s.mdt", fw_name);
+	scnprintf(firmware_name, ARRAY_SIZE(firmware_name), "%s.mbn", fw_name);
 
 	rc = of_property_read_u32(pdev->dev.of_node, "pas-id", &pas_id);
 	if (rc) {