]> granicus.if.org Git - linux-firmware/commitdiff
qcom: replace split SC7180 venus firmware images with symlink
authorNathan Hebert <nhebert@chromium.org>
Tue, 25 Oct 2022 19:50:38 +0000 (12:50 -0700)
committerNathan Hebert <nhebert@chromium.org>
Tue, 25 Oct 2022 21:14:33 +0000 (14:14 -0700)
Qualcomm drivers have supported non-split firmware since since 2019 in
linux kernel commit 498b98e93900 ("soc: qcom: mdt_loader: Support
loading non-split images").  The firmware loader works with either the
split or non-split firmware types. The venus driver for SC7180 currently
loads venus.mdt, not the unified venus.mbn.

This commit removes the non-split images. It adds a link from venus.mdt
to venus.mbn. This retains existing driver compatibility, while gaining
the benefit of reducing size of the deployed files.

I verified this change with on ChromeOS using kernels based on 5.4 and
5.15.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
WHENCE
qcom/venus-5.4/venus.b00 [deleted file]
qcom/venus-5.4/venus.b01 [deleted file]
qcom/venus-5.4/venus.b02 [deleted file]
qcom/venus-5.4/venus.b03 [deleted file]
qcom/venus-5.4/venus.b04 [deleted file]
qcom/venus-5.4/venus.mdt [deleted file]

diff --git a/WHENCE b/WHENCE
index 8125bd424361112b3c07ba0afd4a38c971be6fa1..3645bae6eef6745f3a85882c31f3abacfce09127 100644 (file)
--- a/WHENCE
+++ b/WHENCE
@@ -5574,13 +5574,8 @@ File: qcom/venus-5.2/venus.mbn
 
 Version: 5.2-00023
 
-File: qcom/venus-5.4/venus.mdt
-File: qcom/venus-5.4/venus.b00
-File: qcom/venus-5.4/venus.b01
-File: qcom/venus-5.4/venus.b02
-File: qcom/venus-5.4/venus.b03
-File: qcom/venus-5.4/venus.b04
 File: qcom/venus-5.4/venus.mbn
+Link: qcom/venus-5.4/venus.mdt -> venus.mbn
 
 Version: 5.4-00038
 
diff --git a/qcom/venus-5.4/venus.b00 b/qcom/venus-5.4/venus.b00
deleted file mode 100644 (file)
index 41eae09..0000000
Binary files a/qcom/venus-5.4/venus.b00 and /dev/null differ
diff --git a/qcom/venus-5.4/venus.b01 b/qcom/venus-5.4/venus.b01
deleted file mode 100644 (file)
index 8358789..0000000
Binary files a/qcom/venus-5.4/venus.b01 and /dev/null differ
diff --git a/qcom/venus-5.4/venus.b02 b/qcom/venus-5.4/venus.b02
deleted file mode 100644 (file)
index 5787389..0000000
Binary files a/qcom/venus-5.4/venus.b02 and /dev/null differ
diff --git a/qcom/venus-5.4/venus.b03 b/qcom/venus-5.4/venus.b03
deleted file mode 100644 (file)
index 5c5682f..0000000
Binary files a/qcom/venus-5.4/venus.b03 and /dev/null differ
diff --git a/qcom/venus-5.4/venus.b04 b/qcom/venus-5.4/venus.b04
deleted file mode 100644 (file)
index 90c7fc9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-\rЭÞ\rЭÞ\rЭÞ\rЭÞ\rЭÞ\rЭÞ\rЭÞ\rЭÞ
\ No newline at end of file
diff --git a/qcom/venus-5.4/venus.mdt b/qcom/venus-5.4/venus.mdt
deleted file mode 100644 (file)
index 83a165c..0000000
Binary files a/qcom/venus-5.4/venus.mdt and /dev/null differ