diff options
author | Andrii Beregovenko | 2013-03-06 08:35:48 -0600 |
---|---|---|
committer | Andrii Beregovenko | 2013-03-19 10:05:26 -0500 |
commit | e55416bf647b0333b37731f11c5b86ad9129f742 (patch) | |
tree | 91c22c3fa95eba5b253bb7595735ade097d508a9 /wl12xx/wpan | |
parent | 4fbba49fb3736ffd429fb028270f989c97264de0 (diff) | |
download | device-ti-proprietary-open-e55416bf647b0333b37731f11c5b86ad9129f742.tar.gz device-ti-proprietary-open-e55416bf647b0333b37731f11c5b86ad9129f742.tar.xz device-ti-proprietary-open-e55416bf647b0333b37731f11c5b86ad9129f742.zip |
wpan: rework rules for wpan firmware binaries
Organize prebuilt firmware binaries for WiLink's modules
as regular Android prebuilts. Move corresponding rules to
separate makefile.
Change-Id: Ibc8b3531084530cda1388db15a5ab7b3fdec54bc
Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com>
Diffstat (limited to 'wl12xx/wpan')
-rw-r--r-- | wl12xx/wpan/Android.mk | 20 | ||||
-rw-r--r-- | wl12xx/wpan/License_for_WPAN_Binary_Images.txt | 46 | ||||
-rw-r--r-- | wl12xx/wpan/bluetooth/Android.mk | 96 | ||||
-rw-r--r-- | wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk | 24 | ||||
-rw-r--r-- | wl12xx/wpan/fm/Android.mk | 204 | ||||
-rw-r--r-- | wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk | 35 | ||||
-rw-r--r-- | wl12xx/wpan/nfc/Android.mk | 69 | ||||
-rw-r--r-- | wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk | 18 | ||||
-rw-r--r-- | wl12xx/wpan/wl12xx-wpan-fw-products.mk | 20 | ||||
-rw-r--r-- | wl12xx/wpan/wpan.tgz | bin | 0 -> 268152 bytes |
10 files changed, 532 insertions, 0 deletions
diff --git a/wl12xx/wpan/Android.mk b/wl12xx/wpan/Android.mk new file mode 100644 index 0000000..a47f6c0 --- /dev/null +++ b/wl12xx/wpan/Android.mk | |||
@@ -0,0 +1,20 @@ | |||
1 | # Copyright (C) 2013 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | # | ||
15 | |||
16 | LOCAL_PATH := $(call my-dir) | ||
17 | |||
18 | WPAN_TGZ := device/ti/proprietary-open/wl12xx/wpan/wpan.tgz | ||
19 | |||
20 | include $(call all-makefiles-under, $(LOCAL_PATH)) | ||
diff --git a/wl12xx/wpan/License_for_WPAN_Binary_Images.txt b/wl12xx/wpan/License_for_WPAN_Binary_Images.txt new file mode 100644 index 0000000..606c12d --- /dev/null +++ b/wl12xx/wpan/License_for_WPAN_Binary_Images.txt | |||
@@ -0,0 +1,46 @@ | |||
1 | 1 TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE | ||
2 | 2 SOFTWARE LICENSE | ||
3 | 3 | ||
4 | 4 Copyright (c) 2011, Texas Instruments Incorporated. | ||
5 | 5 | ||
6 | 6 All rights reserved. | ||
7 | 7 | ||
8 | 8 Redistribution. | ||
9 | 9 | ||
10 | 10 Redistribution and use in binary form, without modification, are | ||
11 | 11 permitted provided that the following conditions are met: | ||
12 | 12 | ||
13 | 13 * Redistributions must preserve existing copyright notices and reproduce | ||
14 | 14 this license (including the above copyright notice and the disclaimer below) | ||
15 | 15 in the documentation and/or other materials provided with the distribution. | ||
16 | 16 | ||
17 | 17 * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | 18 its suppliers may be used to endorse or promote products derived | ||
19 | 19 from this software without specific prior written permission. | ||
20 | 20 | ||
21 | 21 * No reverse engineering, decompilation, or disassembly of this | ||
22 | 22 software is permitted. | ||
23 | 23 | ||
24 | 24 Limited patent license. | ||
25 | 25 | ||
26 | 26 Texas Instruments Incorporated grants a world-wide, royalty-free, | ||
27 | 27 non-exclusive license under patents it now or hereafter owns or controls | ||
28 | 28 to make, have made, use, import, offer to sell and sell ("Utilize") this | ||
29 | 29 software, but solely to the extent that any such patent is necessary | ||
30 | 30 to Utilize the software alone. The patent license shall not apply to | ||
31 | 31 any combinations which include this software. No hardware per se is | ||
32 | 32 licensed hereunder. | ||
33 | 33 | ||
34 | 34 DISCLAIMER. | ||
35 | 35 | ||
36 | 36 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
37 | 37 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
38 | 38 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
39 | 39 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
40 | 40 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
41 | 41 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
42 | 42 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
43 | 43 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
44 | 44 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
45 | 45 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
46 | 46 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
diff --git a/wl12xx/wpan/bluetooth/Android.mk b/wl12xx/wpan/bluetooth/Android.mk new file mode 100644 index 0000000..db63840 --- /dev/null +++ b/wl12xx/wpan/bluetooth/Android.mk | |||
@@ -0,0 +1,96 @@ | |||
1 | # Copyright (C) 2013 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | |||
15 | LOCAL_PATH := $(call my-dir) | ||
16 | |||
17 | ifeq ($(strip $(BOARD_HAVE_BLUETOOTH_TI)),true) | ||
18 | |||
19 | TI_WILINK_BT_FW_PATH := $(TARGET_OUT_ETC)/firmware | ||
20 | |||
21 | WPAN_BT_FW_BINS := \ | ||
22 | TIInit_7.2.31.bts \ | ||
23 | TIInit_7.6.15.bts \ | ||
24 | TIInit_10.6.15.bts \ | ||
25 | TIInit_11.8.32.bts \ | ||
26 | TIInit_12.7.27.bts \ | ||
27 | TIInit_12.8.32.bts | ||
28 | |||
29 | # path to BT fws (related to top dir) | ||
30 | FW_BT_PATH := $(TARGET_EXTRACTED_FW)/bt | ||
31 | |||
32 | # path related to current location | ||
33 | FW_BT_FULL_PATH := ../../../../../../$(FW_BT_PATH) | ||
34 | |||
35 | include $(CLEAR_VARS) | ||
36 | LOCAL_MODULE := TIInit_7.2.31.bts | ||
37 | LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_7.2.31.bts | ||
38 | LOCAL_MODULE_CLASS := FIRMWARE | ||
39 | LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH) | ||
40 | LOCAL_MODULE_TAGS := optional | ||
41 | LOCAL_MODULE_OWNER := ti | ||
42 | include $(BUILD_PREBUILT) | ||
43 | include $(CLEAR_VARS) | ||
44 | LOCAL_MODULE := TIInit_7.6.15.bts | ||
45 | LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_7.6.15.bts | ||
46 | LOCAL_MODULE_CLASS := FIRMWARE | ||
47 | LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH) | ||
48 | LOCAL_MODULE_TAGS := optional | ||
49 | LOCAL_MODULE_OWNER := ti | ||
50 | include $(BUILD_PREBUILT) | ||
51 | |||
52 | include $(CLEAR_VARS) | ||
53 | LOCAL_MODULE := TIInit_10.6.15.bts | ||
54 | LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_10.6.15.bts | ||
55 | LOCAL_MODULE_CLASS := FIRMWARE | ||
56 | LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH) | ||
57 | LOCAL_MODULE_TAGS := optional | ||
58 | LOCAL_MODULE_OWNER := ti | ||
59 | include $(BUILD_PREBUILT) | ||
60 | |||
61 | include $(CLEAR_VARS) | ||
62 | LOCAL_MODULE := TIInit_11.8.32.bts | ||
63 | LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_11.8.32.bts | ||
64 | LOCAL_MODULE_CLASS := FIRMWARE | ||
65 | LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH) | ||
66 | LOCAL_MODULE_TAGS := optional | ||
67 | LOCAL_MODULE_OWNER := ti | ||
68 | include $(BUILD_PREBUILT) | ||
69 | |||
70 | include $(CLEAR_VARS) | ||
71 | LOCAL_MODULE := TIInit_12.7.27.bts | ||
72 | LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_12.7.27.bts | ||
73 | LOCAL_MODULE_CLASS := FIRMWARE | ||
74 | LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH) | ||
75 | LOCAL_MODULE_TAGS := optional | ||
76 | LOCAL_MODULE_OWNER := ti | ||
77 | include $(BUILD_PREBUILT) | ||
78 | include $(CLEAR_VARS) | ||
79 | LOCAL_MODULE := TIInit_12.8.32.bts | ||
80 | LOCAL_SRC_FILES := $(FW_BT_FULL_PATH)/TIInit_12.8.32.bts | ||
81 | LOCAL_MODULE_CLASS := FIRMWARE | ||
82 | LOCAL_MODULE_PATH := $(TI_WILINK_BT_FW_PATH) | ||
83 | LOCAL_MODULE_TAGS := optional | ||
84 | LOCAL_MODULE_OWNER := ti | ||
85 | include $(BUILD_PREBUILT) | ||
86 | |||
87 | WPAN_BT_FW_FILES := $(addprefix $(LOCAL_PATH)/$(FW_BT_FULL_PATH)/, $(WPAN_BT_FW_BINS)) | ||
88 | .PHONY: $(WPAN_BT_FW_FILES) | ||
89 | $(WPAN_BT_FW_FILES): $(FW_BT_FULL_PATH) | ||
90 | $(hide) tar -C $(FW_BT_PATH) --strip-components=2 \ | ||
91 | -f $(WPAN_TGZ) -xzp wpan/bluetooth/$(notdir $@) | ||
92 | |||
93 | $(FW_BT_FULL_PATH): | ||
94 | $(hide) mkdir -p $(FW_BT_PATH) | ||
95 | |||
96 | endif | ||
diff --git a/wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk b/wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk new file mode 100644 index 0000000..1a73115 --- /dev/null +++ b/wl12xx/wpan/bluetooth/wl12xx-wpan-bt-fw-products.mk | |||
@@ -0,0 +1,24 @@ | |||
1 | # Copyright (C) 2013 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | # | ||
15 | |||
16 | # Add Bluetooth firmware | ||
17 | |||
18 | PRODUCT_PACKAGES += \ | ||
19 | TIInit_7.2.31.bts \ | ||
20 | TIInit_7.6.15.bts \ | ||
21 | TIInit_10.6.15.bts \ | ||
22 | TIInit_11.8.32.bts \ | ||
23 | TIInit_12.7.27.bts \ | ||
24 | TIInit_12.8.32.bts \ No newline at end of file | ||
diff --git a/wl12xx/wpan/fm/Android.mk b/wl12xx/wpan/fm/Android.mk new file mode 100644 index 0000000..caa7690 --- /dev/null +++ b/wl12xx/wpan/fm/Android.mk | |||
@@ -0,0 +1,204 @@ | |||
1 | # Copyright (C) 2013 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | |||
15 | LOCAL_PATH := $(call my-dir) | ||
16 | |||
17 | TI_WILINK_FM_FW_PATH := $(TARGET_OUT_ETC)/firmware | ||
18 | |||
19 | WPAN_FM_FW_BINS := \ | ||
20 | fmc_ch8_1283.2.bts \ | ||
21 | fmc_ch8_1853.3.bts \ | ||
22 | fmc_ch8_1893.2.bts \ | ||
23 | fmc_ch8_1893.3.bts \ | ||
24 | fmc_init_1273.2.bts \ | ||
25 | fm_rx_ch8_1283.2.bts \ | ||
26 | fm_rx_ch8_1853.3.bts \ | ||
27 | fm_rx_ch8_1893.2.bts \ | ||
28 | fm_rx_ch8_1893.3.bts \ | ||
29 | fm_rx_init_1273.2.bts \ | ||
30 | fm_tx_ch8_1273.1.bts \ | ||
31 | fm_tx_ch8_1273.2.bts \ | ||
32 | fm_tx_ch8_1283.2.bts \ | ||
33 | fm_tx_ch8_1853.3.bts \ | ||
34 | fm_tx_ch8_1893.2.bts \ | ||
35 | fm_tx_ch8_1893.3.bts \ | ||
36 | fm_tx_init_1273.2.bts | ||
37 | |||
38 | # path to NFC fws (related to top dir) | ||
39 | FW_FM_PATH := $(TARGET_EXTRACTED_FW)/fm | ||
40 | |||
41 | # path related to current location | ||
42 | FW_FM_FULL_PATH := ../../../../../../$(FW_FM_PATH) | ||
43 | |||
44 | include $(CLEAR_VARS) | ||
45 | LOCAL_MODULE := fmc_ch8_1283.2.bts | ||
46 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1283.2.bts | ||
47 | LOCAL_MODULE_CLASS := FIRMWARE | ||
48 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
49 | LOCAL_MODULE_TAGS := optional | ||
50 | LOCAL_MODULE_OWNER := ti | ||
51 | include $(BUILD_PREBUILT) | ||
52 | |||
53 | include $(CLEAR_VARS) | ||
54 | LOCAL_MODULE := fmc_ch8_1853.3.bts | ||
55 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1853.3.bts | ||
56 | LOCAL_MODULE_CLASS := FIRMWARE | ||
57 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
58 | LOCAL_MODULE_TAGS := optional | ||
59 | LOCAL_MODULE_OWNER := ti | ||
60 | include $(BUILD_PREBUILT) | ||
61 | |||
62 | include $(CLEAR_VARS) | ||
63 | LOCAL_MODULE := fmc_ch8_1893.2.bts | ||
64 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1893.2.bts | ||
65 | LOCAL_MODULE_CLASS := FIRMWARE | ||
66 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
67 | LOCAL_MODULE_TAGS := optional | ||
68 | LOCAL_MODULE_OWNER := ti | ||
69 | include $(BUILD_PREBUILT) | ||
70 | |||
71 | include $(CLEAR_VARS) | ||
72 | LOCAL_MODULE := fmc_ch8_1893.3.bts | ||
73 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_ch8_1893.3.bts | ||
74 | LOCAL_MODULE_CLASS := FIRMWARE | ||
75 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
76 | LOCAL_MODULE_TAGS := optional | ||
77 | LOCAL_MODULE_OWNER := ti | ||
78 | include $(BUILD_PREBUILT) | ||
79 | |||
80 | include $(CLEAR_VARS) | ||
81 | LOCAL_MODULE := fmc_init_1273.2.bts | ||
82 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fmc_init_1273.2.bts | ||
83 | LOCAL_MODULE_CLASS := FIRMWARE | ||
84 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
85 | LOCAL_MODULE_TAGS := optional | ||
86 | LOCAL_MODULE_OWNER := ti | ||
87 | include $(BUILD_PREBUILT) | ||
88 | |||
89 | include $(CLEAR_VARS) | ||
90 | LOCAL_MODULE := fm_rx_ch8_1283.2.bts | ||
91 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1283.2.bts | ||
92 | LOCAL_MODULE_CLASS := FIRMWARE | ||
93 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
94 | LOCAL_MODULE_TAGS := optional | ||
95 | LOCAL_MODULE_OWNER := ti | ||
96 | include $(BUILD_PREBUILT) | ||
97 | |||
98 | include $(CLEAR_VARS) | ||
99 | LOCAL_MODULE := fm_rx_ch8_1853.3.bts | ||
100 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1853.3.bts | ||
101 | LOCAL_MODULE_CLASS := FIRMWARE | ||
102 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
103 | LOCAL_MODULE_TAGS := optional | ||
104 | LOCAL_MODULE_OWNER := ti | ||
105 | include $(BUILD_PREBUILT) | ||
106 | |||
107 | include $(CLEAR_VARS) | ||
108 | LOCAL_MODULE := fm_rx_ch8_1893.2.bts | ||
109 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1893.2.bts | ||
110 | LOCAL_MODULE_CLASS := FIRMWARE | ||
111 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
112 | LOCAL_MODULE_TAGS := optional | ||
113 | LOCAL_MODULE_OWNER := ti | ||
114 | include $(BUILD_PREBUILT) | ||
115 | |||
116 | include $(CLEAR_VARS) | ||
117 | LOCAL_MODULE := fm_rx_ch8_1893.3.bts | ||
118 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_ch8_1893.3.bts | ||
119 | LOCAL_MODULE_CLASS := FIRMWARE | ||
120 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
121 | LOCAL_MODULE_TAGS := optional | ||
122 | LOCAL_MODULE_OWNER := ti | ||
123 | include $(BUILD_PREBUILT) | ||
124 | |||
125 | include $(CLEAR_VARS) | ||
126 | LOCAL_MODULE := fm_rx_init_1273.2.bts | ||
127 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_rx_init_1273.2.bts | ||
128 | LOCAL_MODULE_CLASS := FIRMWARE | ||
129 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
130 | LOCAL_MODULE_TAGS := optional | ||
131 | LOCAL_MODULE_OWNER := ti | ||
132 | include $(BUILD_PREBUILT) | ||
133 | |||
134 | include $(CLEAR_VARS) | ||
135 | LOCAL_MODULE := fm_tx_ch8_1273.1.bts | ||
136 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1273.1.bts | ||
137 | LOCAL_MODULE_CLASS := FIRMWARE | ||
138 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
139 | LOCAL_MODULE_TAGS := optional | ||
140 | LOCAL_MODULE_OWNER := ti | ||
141 | include $(BUILD_PREBUILT) | ||
142 | |||
143 | include $(CLEAR_VARS) | ||
144 | LOCAL_MODULE := fm_tx_ch8_1273.2.bts | ||
145 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1273.2.bts | ||
146 | LOCAL_MODULE_CLASS := FIRMWARE | ||
147 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
148 | LOCAL_MODULE_TAGS := optional | ||
149 | LOCAL_MODULE_OWNER := ti | ||
150 | include $(BUILD_PREBUILT) | ||
151 | |||
152 | include $(CLEAR_VARS) | ||
153 | LOCAL_MODULE := fm_tx_ch8_1283.2.bts | ||
154 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1283.2.bts | ||
155 | LOCAL_MODULE_CLASS := FIRMWARE | ||
156 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
157 | LOCAL_MODULE_TAGS := optional | ||
158 | LOCAL_MODULE_OWNER := ti | ||
159 | include $(BUILD_PREBUILT) | ||
160 | |||
161 | include $(CLEAR_VARS) | ||
162 | LOCAL_MODULE := fm_tx_ch8_1853.3.bts | ||
163 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1853.3.bts | ||
164 | LOCAL_MODULE_CLASS := FIRMWARE | ||
165 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
166 | LOCAL_MODULE_TAGS := optional | ||
167 | LOCAL_MODULE_OWNER := ti | ||
168 | include $(BUILD_PREBUILT) | ||
169 | |||
170 | include $(CLEAR_VARS) | ||
171 | LOCAL_MODULE := fm_tx_ch8_1893.2.bts | ||
172 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1893.2.bts | ||
173 | LOCAL_MODULE_CLASS := FIRMWARE | ||
174 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
175 | LOCAL_MODULE_TAGS := optional | ||
176 | LOCAL_MODULE_OWNER := ti | ||
177 | include $(BUILD_PREBUILT) | ||
178 | |||
179 | include $(CLEAR_VARS) | ||
180 | LOCAL_MODULE := fm_tx_ch8_1893.3.bts | ||
181 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_ch8_1893.3.bts | ||
182 | LOCAL_MODULE_CLASS := FIRMWARE | ||
183 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
184 | LOCAL_MODULE_TAGS := optional | ||
185 | LOCAL_MODULE_OWNER := ti | ||
186 | include $(BUILD_PREBUILT) | ||
187 | |||
188 | include $(CLEAR_VARS) | ||
189 | LOCAL_MODULE := fm_tx_init_1273.2.bts | ||
190 | LOCAL_SRC_FILES := $(FW_FM_FULL_PATH)/fm_tx_init_1273.2.bts | ||
191 | LOCAL_MODULE_CLASS := FIRMWARE | ||
192 | LOCAL_MODULE_PATH := $(TI_WILINK_FM_FW_PATH) | ||
193 | LOCAL_MODULE_TAGS := optional | ||
194 | LOCAL_MODULE_OWNER := ti | ||
195 | include $(BUILD_PREBUILT) | ||
196 | |||
197 | WPAN_FM_FW_FILES := $(addprefix $(LOCAL_PATH)/$(FW_FM_FULL_PATH)/, $(WPAN_FM_FW_BINS)) | ||
198 | .PHONY: $(WPAN_FM_FW_FILES) | ||
199 | $(WPAN_FM_FW_FILES): $(FW_FM_FULL_PATH) | ||
200 | $(hide) tar -C $(FW_FM_PATH) --strip-components=2 \ | ||
201 | -f $(WPAN_TGZ) -xzp wpan/fmradio/$(notdir $@) | ||
202 | |||
203 | $(FW_FM_FULL_PATH): | ||
204 | $(hide) mkdir -p $(FW_FM_PATH) | ||
diff --git a/wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk b/wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk new file mode 100644 index 0000000..43d11e7 --- /dev/null +++ b/wl12xx/wpan/fm/wl12xx-wpan-fm-fw-products.mk | |||
@@ -0,0 +1,35 @@ | |||
1 | # Copyright (C) 2013 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | # | ||
15 | |||
16 | # Add FM radio firmware | ||
17 | |||
18 | PRODUCT_PACKAGES += \ | ||
19 | fmc_ch8_1283.2.bts \ | ||
20 | fmc_ch8_1853.3.bts \ | ||
21 | fmc_ch8_1893.2.bts \ | ||
22 | fmc_ch8_1893.3.bts \ | ||
23 | fmc_init_1273.2.bts \ | ||
24 | fm_rx_ch8_1283.2.bts \ | ||
25 | fm_rx_ch8_1853.3.bts \ | ||
26 | fm_rx_ch8_1893.2.bts \ | ||
27 | fm_rx_ch8_1893.3.bts \ | ||
28 | fm_rx_init_1273.2.bts \ | ||
29 | fm_tx_ch8_1273.1.bts \ | ||
30 | fm_tx_ch8_1273.2.bts \ | ||
31 | fm_tx_ch8_1283.2.bts \ | ||
32 | fm_tx_ch8_1853.3.bts \ | ||
33 | fm_tx_ch8_1893.2.bts \ | ||
34 | fm_tx_ch8_1893.3.bts \ | ||
35 | fm_tx_init_1273.2.bts \ No newline at end of file | ||
diff --git a/wl12xx/wpan/nfc/Android.mk b/wl12xx/wpan/nfc/Android.mk new file mode 100644 index 0000000..6929d13 --- /dev/null +++ b/wl12xx/wpan/nfc/Android.mk | |||
@@ -0,0 +1,69 @@ | |||
1 | # Copyright (C) 2013 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | |||
15 | LOCAL_PATH := $(call my-dir) | ||
16 | |||
17 | ifeq ($(strip $(NFC_TI_DEVICE)),true) | ||
18 | |||
19 | TI_WILINK_NFC_FW_PATH := $(TARGET_OUT_ETC)/firmware | ||
20 | |||
21 | WPAN_NFC_FW_BINS := \ | ||
22 | TIInit_11.7.27.bts \ | ||
23 | TINfcInit_12.8.32.72.bts \ | ||
24 | TINfcInit_12.8.32.80.bts | ||
25 | |||
26 | # path to NFC fws (related to top dir) | ||
27 | FW_NFC_PATH := $(TARGET_EXTRACTED_FW)/nfc | ||
28 | |||
29 | # path related to current location | ||
30 | FW_NFC_FULL_PATH := ../../../../../../$(FW_NFC_PATH) | ||
31 | |||
32 | include $(CLEAR_VARS) | ||
33 | LOCAL_MODULE := TIInit_11.7.27.bts | ||
34 | LOCAL_SRC_FILES := $(FW_NFC_FULL_PATH)/TIInit_11.7.27.bts | ||
35 | LOCAL_MODULE_CLASS := FIRMWARE | ||
36 | LOCAL_MODULE_PATH := $(TI_WILINK_NFC_FW_PATH) | ||
37 | LOCAL_MODULE_TAGS := optional | ||
38 | LOCAL_MODULE_OWNER := ti | ||
39 | include $(BUILD_PREBUILT) | ||
40 | |||
41 | include $(CLEAR_VARS) | ||
42 | LOCAL_MODULE := TINfcInit_12.8.32.72.bts | ||
43 | LOCAL_SRC_FILES := $(FW_NFC_FULL_PATH)/TINfcInit_12.8.32.72.bts | ||
44 | LOCAL_MODULE_CLASS := FIRMWARE | ||
45 | LOCAL_MODULE_PATH := $(TI_WILINK_NFC_FW_PATH) | ||
46 | LOCAL_MODULE_TAGS := optional | ||
47 | LOCAL_MODULE_OWNER := ti | ||
48 | include $(BUILD_PREBUILT) | ||
49 | |||
50 | include $(CLEAR_VARS) | ||
51 | LOCAL_MODULE := TINfcInit_12.8.32.80.bts | ||
52 | LOCAL_SRC_FILES := $(FW_NFC_FULL_PATH)/TINfcInit_12.8.32.80.bts | ||
53 | LOCAL_MODULE_CLASS := FIRMWARE | ||
54 | LOCAL_MODULE_PATH := $(TI_WILINK_NFC_FW_PATH) | ||
55 | LOCAL_MODULE_TAGS := optional | ||
56 | LOCAL_MODULE_OWNER := ti | ||
57 | include $(BUILD_PREBUILT) | ||
58 | |||
59 | WPAN_NFC_FW_FILES := $(addprefix $(LOCAL_PATH)/$(FW_NFC_FULL_PATH)/, $(WPAN_NFC_FW_BINS)) | ||
60 | .PHONY: $(WPAN_NFC_FW_FILES) | ||
61 | $(WPAN_NFC_FW_FILES): $(FW_NFC_FULL_PATH) | ||
62 | $(hide) tar -C $(FW_NFC_PATH) --strip-components=2 \ | ||
63 | -f $(WPAN_TGZ) -xzp wpan/nfc/$(notdir $@) | ||
64 | |||
65 | $(FW_NFC_FULL_PATH): | ||
66 | $(hide) mkdir -p $(FW_NFC_PATH) | ||
67 | |||
68 | endif | ||
69 | |||
diff --git a/wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk b/wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk new file mode 100644 index 0000000..9c54ea6 --- /dev/null +++ b/wl12xx/wpan/nfc/wl12xx-wpan-nfc-fw-products.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # Copyright (C) 2013 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | |||
15 | PRODUCT_PACKAGES += \ | ||
16 | TIInit_11.7.27.bts \ | ||
17 | TINfcInit_12.8.32.72.bts \ | ||
18 | TINfcInit_12.8.32.80.bts \ No newline at end of file | ||
diff --git a/wl12xx/wpan/wl12xx-wpan-fw-products.mk b/wl12xx/wpan/wl12xx-wpan-fw-products.mk new file mode 100644 index 0000000..9a919b8 --- /dev/null +++ b/wl12xx/wpan/wl12xx-wpan-fw-products.mk | |||
@@ -0,0 +1,20 @@ | |||
1 | # Copyright (C) 2012 The Android Open Source Project | ||
2 | # | ||
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
4 | # you may not use this file except in compliance with the License. | ||
5 | # You may obtain a copy of the License at | ||
6 | # | ||
7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
8 | # | ||
9 | # Unless required by applicable law or agreed to in writing, software | ||
10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
12 | # See the License for the specific language governing permissions and | ||
13 | # limitations under the License. | ||
14 | # | ||
15 | |||
16 | WPAN_FW_TOP := device/ti/proprietary-open/wl12xx/wpan | ||
17 | |||
18 | $(call inherit-product, $(WPAN_FW_TOP)/bluetooth/wl12xx-wpan-bt-fw-products.mk) | ||
19 | $(call inherit-product, $(WPAN_FW_TOP)/fm/wl12xx-wpan-fm-fw-products.mk) | ||
20 | $(call inherit-product, $(WPAN_FW_TOP)/nfc/wl12xx-wpan-nfc-fw-products.mk) | ||
diff --git a/wl12xx/wpan/wpan.tgz b/wl12xx/wpan/wpan.tgz new file mode 100644 index 0000000..639a2f6 --- /dev/null +++ b/wl12xx/wpan/wpan.tgz | |||
Binary files differ | |||