summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2020-02-07 22:01:42 +0000
committerJohn Stultz <john.stultz@linaro.org>2020-02-12 22:33:00 +0000
commit3ae4706f9a8ef36c72a98e34ae50cac562071d86 (patch)
tree19988d5910072a8fcc72628897e711830d01fb62
parentfa0fa16c0c7a2a85a33ebd8f92ec8022f12fed1e (diff)
db845c: firmware: Use qcom/sdm845/ prefix on gpu firmware files
This copies the gpu firmware files to be under firmware/qcom/sdm845/ since that is where they will be expected to be with newer kernels. One note: v5.6+ kernels not only expect a different path but also expect a different filename postfix. So this copies the a630_zap.mdt to a630_zap.mbn. For compatiblility with older kernels, we keep the existing firmware as is. Change-Id: I8e81360e573c68e912378a3493c9ef9104f23dc6 Signed-off-by: John Stultz <john.stultz@lianro.org>
-rw-r--r--db845c/firmware/device.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/db845c/firmware/device.mk b/db845c/firmware/device.mk
index 08cd807..f6c486f 100644
--- a/db845c/firmware/device.mk
+++ b/db845c/firmware/device.mk
@@ -112,3 +112,13 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
crbtfw21.tlv \
crnv21.bin
+
+#Have to duplicate the zap as path changed between kernels
+PRODUCT_COPY_FILES += \
+ device/linaro/dragonboard/db845c/firmware/a630_gmu.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/sdm845/a630_gmu.bin \
+ device/linaro/dragonboard/db845c/firmware/a630_sqe.fw:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/sdm845/a630_sqe.fw \
+ device/linaro/dragonboard/db845c/firmware/a630_zap.b00:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/sdm845/a630_zap.b00 \
+ device/linaro/dragonboard/db845c/firmware/a630_zap.b01:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/sdm845/a630_zap.b01 \
+ device/linaro/dragonboard/db845c/firmware/a630_zap.b02:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/sdm845/a630_zap.b02 \
+ device/linaro/dragonboard/db845c/firmware/a630_zap.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/sdm845/a630_zap.elf \
+ device/linaro/dragonboard/db845c/firmware/a630_zap.mdt:$(TARGET_COPY_OUT_VENDOR)/firmware/qcom/sdm845/a630_zap.mbn