db845c: firmware: Add Qcom RB3 firmware files

Copied Qcom firmware files and license from
RB3_firmware_20190529180356-v3.zip
http://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_20190529180356-v3.zip

Also added utils.mk helper script which will contain
useful build/install macros going forward.
add-qcom-firmware() to start with.

Change-Id: Iabef654d79ba2562929ae99c5d36f1439802b408
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/db845c/firmware/Android.mk b/db845c/firmware/Android.mk
new file mode 100644
index 0000000..6cdcfd7
--- /dev/null
+++ b/db845c/firmware/Android.mk
@@ -0,0 +1,103 @@
+LOCAL_PATH := $(call my-dir)
+
+include device/linaro/dragonboard/utils.mk
+
+# Firmware files copied over from
+# http://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_20190529180356-v3.zip
+
+# Adreno
+firmware_files :=	\
+    a630_gmu.bin	\
+    a630_sqe.fw		\
+    a630_zap.b00	\
+    a630_zap.b01	\
+    a630_zap.b02	\
+    a630_zap.elf	\
+    a630_zap.mdt
+
+# DSP (adsp+cdsp)
+firmware_files +=	\
+    adsp.b00		\
+    adsp.b01		\
+    adsp.b02		\
+    adsp.b03		\
+    adsp.b04		\
+    adsp.b05		\
+    adsp.b06		\
+    adsp.b07		\
+    adsp.b08		\
+    adsp.b09		\
+    adsp.b10		\
+    adsp.b11		\
+    adsp.b12		\
+    adsp.b13		\
+    adsp.mdt		\
+    cdsp.b00		\
+    cdsp.b01		\
+    cdsp.b02		\
+    cdsp.b03		\
+    cdsp.b04		\
+    cdsp.b05		\
+    cdsp.b06		\
+    cdsp.b08		\
+    cdsp.mdt
+
+# USB
+firmware_files +=	\
+    K2026090.mem
+
+# Wlan
+firmware_files +=	\
+    bdwlan.102		\
+    bdwlan.104		\
+    bdwlan.105		\
+    bdwlan.106		\
+    bdwlan.107		\
+    bdwlan.108		\
+    bdwlan.109		\
+    bdwlan.10b		\
+    bdwlan.10c		\
+    bdwlan.b04		\
+    bdwlan.b07		\
+    bdwlan.b09		\
+    bdwlan.b0a		\
+    bdwlan.b0b		\
+    bdwlan.b0d		\
+    bdwlan.b0e		\
+    bdwlan.b0f		\
+    bdwlan.b14		\
+    bdwlan.b15		\
+    bdwlan.b30		\
+    bdwlan.b31		\
+    bdwlan.b32		\
+    bdwlan.b33		\
+    bdwlan.b34		\
+    bdwlan.b35		\
+    bdwlan.b36		\
+    bdwlan.b37		\
+    bdwlan.b38		\
+    bdwlan.b39		\
+    bdwlan.b3a		\
+    bdwlan.b3c		\
+    bdwlan.b3d		\
+    bdwlan.b3e		\
+    bdwlan.b3f		\
+    bdwlan.b41		\
+    bdwlan.b42		\
+    bdwlan.b45		\
+    bdwlan.b70		\
+    bdwlan.bin		\
+    bdwlan.txt		\
+    wlanmdsp.mbn
+
+# I2C/SPI fix
+firmware_files +=	\
+    devcfg.mbn
+
+# License
+firmware_files +=	\
+    LICENSE.qcom.txt
+
+$(foreach f, $(firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/))
+
+include $(call all-makefiles-under,$(LOCAL_PATH))