blob: 6c3dc4ba725756f3d04232c9d8108c20a74a277e [file] [log] [blame]
Sumit Semwalb8990a82020-03-24 21:55:48 +05301ifneq ($(filter db845c, $(TARGET_BOARD_PLATFORM)),)
2
Amit Pundir3a69c9b2019-04-18 17:15:30 +05303LOCAL_PATH := $(call my-dir)
4
5include device/linaro/dragonboard/utils.mk
6
7# Firmware files copied over from
8# http://releases.linaro.org/96boards/dragonboard845c/qualcomm/firmware/RB3_firmware_20190529180356-v3.zip
9
10# Adreno
11firmware_files := \
12 a630_gmu.bin \
13 a630_sqe.fw \
14 a630_zap.b00 \
15 a630_zap.b01 \
16 a630_zap.b02 \
17 a630_zap.elf \
18 a630_zap.mdt
19
20# DSP (adsp+cdsp)
John Stultz47899952020-02-11 23:15:43 +000021sdm845_firmware_files += \
Amit Pundir3a69c9b2019-04-18 17:15:30 +053022 adsp.b00 \
23 adsp.b01 \
24 adsp.b02 \
25 adsp.b03 \
26 adsp.b04 \
27 adsp.b05 \
28 adsp.b06 \
29 adsp.b07 \
30 adsp.b08 \
31 adsp.b09 \
32 adsp.b10 \
33 adsp.b11 \
34 adsp.b12 \
35 adsp.b13 \
36 adsp.mdt \
Amit Pundir3c5b0b62020-04-14 22:22:30 +053037 adspua.jsn \
Amit Pundir3a69c9b2019-04-18 17:15:30 +053038 cdsp.b00 \
39 cdsp.b01 \
40 cdsp.b02 \
41 cdsp.b03 \
42 cdsp.b04 \
43 cdsp.b05 \
44 cdsp.b06 \
45 cdsp.b08 \
46 cdsp.mdt
47
48# USB
49firmware_files += \
50 K2026090.mem
51
52# Wlan
John Stultz47899952020-02-11 23:15:43 +000053sdm845_firmware_files += \
Amit Pundir3a69c9b2019-04-18 17:15:30 +053054 bdwlan.102 \
55 bdwlan.104 \
56 bdwlan.105 \
57 bdwlan.106 \
58 bdwlan.107 \
59 bdwlan.108 \
60 bdwlan.109 \
61 bdwlan.10b \
62 bdwlan.10c \
63 bdwlan.b04 \
64 bdwlan.b07 \
65 bdwlan.b09 \
66 bdwlan.b0a \
67 bdwlan.b0b \
68 bdwlan.b0d \
69 bdwlan.b0e \
70 bdwlan.b0f \
71 bdwlan.b14 \
72 bdwlan.b15 \
73 bdwlan.b30 \
74 bdwlan.b31 \
75 bdwlan.b32 \
76 bdwlan.b33 \
77 bdwlan.b34 \
78 bdwlan.b35 \
79 bdwlan.b36 \
80 bdwlan.b37 \
81 bdwlan.b38 \
82 bdwlan.b39 \
83 bdwlan.b3a \
84 bdwlan.b3c \
85 bdwlan.b3d \
86 bdwlan.b3e \
87 bdwlan.b3f \
88 bdwlan.b41 \
89 bdwlan.b42 \
90 bdwlan.b45 \
91 bdwlan.b70 \
92 bdwlan.bin \
93 bdwlan.txt \
94 wlanmdsp.mbn
95
John Stultz236563d2020-02-11 06:22:09 +000096ath10k_firmware_files += \
John Stultz1ddadd82020-02-11 06:28:36 +000097 board-2.bin \
John Stultz236563d2020-02-11 06:22:09 +000098 firmware-5.bin \
John Stultzc8a4acf2020-03-17 23:37:47 +000099 notice.txt_wlanmdsp
John Stultz236563d2020-02-11 06:22:09 +0000100
Amit Pundir3a69c9b2019-04-18 17:15:30 +0530101# I2C/SPI fix
102firmware_files += \
103 devcfg.mbn
104
John Stultzb9b3e332020-02-07 22:01:42 +0000105# wifi/modem/mba
106sdm845_firmware_files += \
107 mba.mbn \
Amit Pundir3c5b0b62020-04-14 22:22:30 +0530108 modem.mbn \
109 modemuw.jsn
John Stultzb9b3e332020-02-07 22:01:42 +0000110
Amit Pundir3a69c9b2019-04-18 17:15:30 +0530111# License
112firmware_files += \
113 LICENSE.qcom.txt
114
115$(foreach f, $(firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/))
John Stultzb9b3e332020-02-07 22:01:42 +0000116$(foreach f, $(sdm845_firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/qcom/sdm845/))
John Stultz236563d2020-02-11 06:22:09 +0000117$(foreach f, $(ath10k_firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/ath10k/WCN3990/hw1.0/))
Amit Pundir3a69c9b2019-04-18 17:15:30 +0530118
119include $(call all-makefiles-under,$(LOCAL_PATH))
Sumit Semwalb8990a82020-03-24 21:55:48 +0530120endif