blob: 3af24e3e0321c7fa6e4ba21946a48ace3e0116f4 [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 \
37 cdsp.b00 \
38 cdsp.b01 \
39 cdsp.b02 \
40 cdsp.b03 \
41 cdsp.b04 \
42 cdsp.b05 \
43 cdsp.b06 \
44 cdsp.b08 \
45 cdsp.mdt
46
47# USB
48firmware_files += \
49 K2026090.mem
50
51# Wlan
John Stultz47899952020-02-11 23:15:43 +000052sdm845_firmware_files += \
Amit Pundir3a69c9b2019-04-18 17:15:30 +053053 bdwlan.102 \
54 bdwlan.104 \
55 bdwlan.105 \
56 bdwlan.106 \
57 bdwlan.107 \
58 bdwlan.108 \
59 bdwlan.109 \
60 bdwlan.10b \
61 bdwlan.10c \
62 bdwlan.b04 \
63 bdwlan.b07 \
64 bdwlan.b09 \
65 bdwlan.b0a \
66 bdwlan.b0b \
67 bdwlan.b0d \
68 bdwlan.b0e \
69 bdwlan.b0f \
70 bdwlan.b14 \
71 bdwlan.b15 \
72 bdwlan.b30 \
73 bdwlan.b31 \
74 bdwlan.b32 \
75 bdwlan.b33 \
76 bdwlan.b34 \
77 bdwlan.b35 \
78 bdwlan.b36 \
79 bdwlan.b37 \
80 bdwlan.b38 \
81 bdwlan.b39 \
82 bdwlan.b3a \
83 bdwlan.b3c \
84 bdwlan.b3d \
85 bdwlan.b3e \
86 bdwlan.b3f \
87 bdwlan.b41 \
88 bdwlan.b42 \
89 bdwlan.b45 \
90 bdwlan.b70 \
91 bdwlan.bin \
92 bdwlan.txt \
93 wlanmdsp.mbn
94
John Stultz236563d2020-02-11 06:22:09 +000095ath10k_firmware_files += \
John Stultz1ddadd82020-02-11 06:28:36 +000096 board-2.bin \
John Stultz236563d2020-02-11 06:22:09 +000097 firmware-5.bin \
John Stultzc8a4acf2020-03-17 23:37:47 +000098 notice.txt_wlanmdsp
John Stultz236563d2020-02-11 06:22:09 +000099
Amit Pundir3a69c9b2019-04-18 17:15:30 +0530100# I2C/SPI fix
101firmware_files += \
102 devcfg.mbn
103
John Stultzb9b3e332020-02-07 22:01:42 +0000104# wifi/modem/mba
105sdm845_firmware_files += \
106 mba.mbn \
107 modem.mbn
108
Amit Pundir3a69c9b2019-04-18 17:15:30 +0530109# License
110firmware_files += \
111 LICENSE.qcom.txt
112
113$(foreach f, $(firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/))
John Stultzb9b3e332020-02-07 22:01:42 +0000114$(foreach f, $(sdm845_firmware_files), $(call add-qcom-firmware, $(f), $(TARGET_OUT_VENDOR)/firmware/qcom/sdm845/))
John Stultz236563d2020-02-11 06:22:09 +0000115$(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 +0530116
117include $(call all-makefiles-under,$(LOCAL_PATH))
Sumit Semwalb8990a82020-03-24 21:55:48 +0530118endif