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: I3ae4706f9a8ef36c72a98e34ae50cac562071d86
Signed-off-by: John Stultz <john.stultz@lianro.org>
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 += \
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