blob: 48fa4510e3868681b1a6aa8c86ecd6e7888379a2 [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 \
John Stultz54dcccf2021-05-05 05:50:30 +000018 a630_zap.mdt \
19 a630_zap.mbn
Amit Pundir3a69c9b2019-04-18 17:15:30 +053020
21# DSP (adsp+cdsp)
John Stultz47899952020-02-11 23:15:43 +000022sdm845_firmware_files += \
Amit Pundir3a69c9b2019-04-18 17:15:30 +053023 adsp.b00 \
24 adsp.b01 \
25 adsp.b02 \
26 adsp.b03 \
27 adsp.b04 \
28 adsp.b05 \
29 adsp.b06 \
30 adsp.b07 \
31 adsp.b08 \
32 adsp.b09 \
33 adsp.b10 \
34 adsp.b11 \
35 adsp.b12 \
36 adsp.b13 \
37 adsp.mdt \
John Stultz54dcccf2021-05-05 05:50:30 +000038 adsp.mbn \
39 adspr.jsn \
Amit Pundir3c5b0b62020-04-14 22:22:30 +053040 adspua.jsn \
Amit Pundir3a69c9b2019-04-18 17:15:30 +053041 cdsp.b00 \
42 cdsp.b01 \
43 cdsp.b02 \
44 cdsp.b03 \
45 cdsp.b04 \
46 cdsp.b05 \
47 cdsp.b06 \
48 cdsp.b08 \
John Stultz54dcccf2021-05-05 05:50:30 +000049 cdsp.mdt \
50 cdsp.mbn \
51 cdspr.jsn \
52
Amit Pundir3a69c9b2019-04-18 17:15:30 +053053
54# USB
55firmware_files += \
56 K2026090.mem
57
58# Wlan
John Stultz47899952020-02-11 23:15:43 +000059sdm845_firmware_files += \
Amit Pundir3a69c9b2019-04-18 17:15:30 +053060 bdwlan.102 \
61 bdwlan.104 \
62 bdwlan.105 \
63 bdwlan.106 \
64 bdwlan.107 \
65 bdwlan.108 \
66 bdwlan.109 \
67 bdwlan.10b \
68 bdwlan.10c \
69 bdwlan.b04 \
70 bdwlan.b07 \
71 bdwlan.b09 \
72 bdwlan.b0a \
73 bdwlan.b0b \
74 bdwlan.b0d \
75 bdwlan.b0e \
76 bdwlan.b0f \
77 bdwlan.b14 \
78 bdwlan.b15 \
79 bdwlan.b30 \
80 bdwlan.b31 \
81 bdwlan.b32 \
82 bdwlan.b33 \
83 bdwlan.b34 \
84 bdwlan.b35 \
85 bdwlan.b36 \
86 bdwlan.b37 \
87 bdwlan.b38 \
88 bdwlan.b39 \
89 bdwlan.b3a \
90 bdwlan.b3c \
91 bdwlan.b3d \
92 bdwlan.b3e \
93 bdwlan.b3f \
94 bdwlan.b41 \
95 bdwlan.b42 \
96 bdwlan.b45 \
97 bdwlan.b70 \
98 bdwlan.bin \
99 bdwlan.txt \
100 wlanmdsp.mbn
101
John Stultz236563d2020-02-11 06:22:09 +0000102ath10k_firmware_files += \
John Stultz1ddadd82020-02-11 06:28:36 +0000103 board-2.bin \
John Stultz236563d2020-02-11 06:22:09 +0000104 firmware-5.bin \
John Stultzc8a4acf2020-03-17 23:37:47 +0000105 notice.txt_wlanmdsp
John Stultz236563d2020-02-11 06:22:09 +0000106
Amit Pundir3a69c9b2019-04-18 17:15:30 +0530107# I2C/SPI fix
108firmware_files += \
109 devcfg.mbn
110
John Stultzb9b3e332020-02-07 22:01:42 +0000111# wifi/modem/mba
112sdm845_firmware_files += \
113 mba.mbn \
Amit Pundir3c5b0b62020-04-14 22:22:30 +0530114 modem.mbn \
115 modemuw.jsn
John Stultzb9b3e332020-02-07 22:01:42 +0000116
Amit Pundir3a69c9b2019-04-18 17:15:30 +0530117# License
118firmware_files += \
119 LICENSE.qcom.txt
120
121$(foreach f, $(firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/))
John Stultzb9b3e332020-02-07 22:01:42 +0000122$(foreach f, $(sdm845_firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/qcom/sdm845/))
John Stultz236563d2020-02-11 06:22:09 +0000123$(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 +0530124
125include $(call all-makefiles-under,$(LOCAL_PATH))
Sumit Semwalb8990a82020-03-24 21:55:48 +0530126endif