8722a2fd049788e97ec782ca90a6e4724b4745d8
[processor-sdk/pdk.git] / packages / ti / drv / spi / spi_component.mk
1 #
2 # Copyright (c) 2016 - 2020, Texas Instruments Incorporated
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
8 #
9 # *  Redistributions of source code must retain the above copyright
10 #    notice, this list of conditions and the following disclaimer.
11 #
12 # *  Redistributions in binary form must reproduce the above copyright
13 #    notice, this list of conditions and the following disclaimer in the
14 #    documentation and/or other materials provided with the distribution.
15 #
16 # *  Neither the name of Texas Instruments Incorporated nor the names of
17 #    its contributors may be used to endorse or promote products derived
18 #    from this software without specific prior written permission.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #
33 # File: spi_component.mk
34 #       This file is component include make file of SPI library.
35 # List of variables set in this file and their purpose:
36 # <mod>_RELPATH        - This is the relative path of the module, typically from
37 #                        top-level directory of the package
38 # <mod>_PATH           - This is the absolute path of the module. It derives from
39 #                        absolute path of the top-level directory (set in env.mk)
40 #                        and relative path set above
41 # <mod>_INCLUDE        - This is the path that has interface header files of the
42 #                        module. This can be multiple directories (space separated)
43 # <mod>_PKG_LIST       - Names of the modules (and sub-modules) that are a part
44 #                        part of this module, including itself.
45 # <mod>_BOARD_DEPENDENCY - "yes": means the code for this module depends on
46 #                             board and the compiled obj/lib has to be kept
47 #                             under <board> directory
48 #                             "no" or "" or if this variable is not defined: means
49 #                             this module has no board dependent code and hence
50 #                             the obj/libs are not kept under <board> dir.
51 # <mod>_CORE_DEPENDENCY     - "yes": means the code for this module depends on
52 #                             core and the compiled obj/lib has to be kept
53 #                             under <core> directory
54 #                             "no" or "" or if this variable is not defined: means
55 #                             this module has no core dependent code and hence
56 #                             the obj/libs are not kept under <core> dir.
57 # <mod>_APP_STAGE_FILES     - List of source files that belongs to the module
58 #                             <mod>, but that needs to be compiled at application
59 #                             build stage (in the context of the app). This is
60 #                             primarily for link time configurations or if the
61 #                             source file is dependent on options/defines that are
62 #                             application dependent. This can be left blank or
63 #                             not defined at all, in which case, it means there
64 #                             no source files in the module <mod> that are required
65 #                             to be compiled in the application build stage.
66 #
67 ifeq ($(spi_component_make_include), )
69 drvspi_BOARDLIST       = am65xx_evm am65xx_idk j721e_sim j721e_evm j7200_evm am64x_evm
70 drvspi_SOCLIST         = tda2xx tda2px tda2ex tda3xx dra72x dra75x dra78x am574x am572x am571x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx j721e j7200 am64x tpr12 awr294x
71 drvspi_SOCLISTLIM      = tda2xx tda2px tda2ex tda3xx dra72x dra75x dra78x am574x am572x am571x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138
72 drvspi_dma_SOCLIST     = tda2xx tda2px tda2ex tda3xx dra72x dra75x dra78x am574x am572x am571x k2h k2k k2l k2e k2g c6678 c6657 am437x am335x omapl137 omapl138 am65xx j721e j7200 am64x tpr12 awr294x
73 drvspi_am574x_CORELIST = c66x a15_0 ipu1_0
74 drvspi_am572x_CORELIST = c66x a15_0 ipu1_0
75 drvspi_am571x_CORELIST = c66x a15_0 ipu1_0
76 drvspi_k2h_CORELIST    = c66x a15_0
77 drvspi_k2k_CORELIST    = c66x a15_0
78 drvspi_k2l_CORELIST    = c66x a15_0
79 drvspi_k2e_CORELIST    = c66x a15_0
80 drvspi_k2g_CORELIST    = c66x a15_0
81 drvspi_c6678_CORELIST  = c66x
82 drvspi_c6657_CORELIST  = c66x
83 drvspi_am437x_CORELIST = a9host pru_0 pru_1
84 drvspi_am335x_CORELIST = a8host pru_0 pru_1
85 drvspi_omapl137_CORELIST    = c674x arm9_0
86 drvspi_omapl138_CORELIST    = c674x arm9_0
87 drvspi_tda2xx_CORELIST = ipu1_0
88 drvspi_tda2px_CORELIST = ipu1_0
89 drvspi_tda2ex_CORELIST = ipu1_0
90 drvspi_tda3xx_CORELIST = ipu1_0
91 drvspi_dra72x_CORELIST = c66x a15_0 ipu1_0
92 drvspi_dra75x_CORELIST = c66x a15_0 ipu1_0
93 drvspi_dra78x_CORELIST = c66x ipu1_0
94 drvspi_am65xx_CORELIST = mpu1_0 mcu1_0
95 drvspi_j721e_CORELIST  = $(DEFAULT_j721e_CORELIST)
96 drvspi_j721e_CORELISTARM  = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1
97 drvspi_j7200_CORELIST     = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1
98 drvspi_am64x_CORELIST  = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 m4f_0
99 drvspi_am64x_CORELISTARM  = mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1
100 drvspi_tpr12_CORELIST  = mcu1_0
101 drvspi_awr294x_CORELIST  = mcu1_0
102 ############################
103 # spi package
104 # List of components included under spi lib
105 # The components included here are built and will be part of spi lib
106 ############################
107 spi_LIB_LIST = spi spi_dma spi_profile spi_dma_profile spi_indp spi_profile_indp
108 drvspi_LIB_LIST = $(spi_LIB_LIST)
110 ############################
111 # spi Firmwares
112 # All the firmware mentioned in list are built when build target is called
113 # List below all frimware for allowed values
114 ############################
115 spi_FIRM_LIST = icss_espi
116 drvspi_FIRM_LIST = $(spi_FIRM_LIST)
118 ############################
119 # spi examples
120 # List of examples under spi
121 # All the tests mentioned in list are built when test target is called
122 # List below all examples for allowed values
123 ############################
124 spi_EXAMPLE_LIST = drv_mcspi_loopback_app
125 spi_EXAMPLE_LIST += MCSPI_Baremetal_Master_TestApp MCSPI_Baremetal_Slave_TestApp
126 spi_EXAMPLE_LIST += MCSPI_Master_TestApp MCSPI_Slave_TestApp
127 spi_EXAMPLE_LIST += MCSPI_Baremetal_Master_Dma_TestApp MCSPI_Baremetal_Slave_Dma_TestApp
128 spi_EXAMPLE_LIST += MCSPI_Master_Dma_TestApp MCSPI_Slave_Dma_TestApp
129 spi_EXAMPLE_LIST += OSPI_Baremetal_Flash_TestApp  OSPI_Baremetal_Flash_Dma_TestApp OSPI_Flash_TestApp OSPI_Flash_SMP_TestApp OSPI_Flash_Dma_TestApp OSPI_Flash_Dma_SMP_TestApp QSPI_Baremetal_Flash_TestApp QSPI_Flash_TestApp QSPI_Baremetal_Flash_Dma_TestApp QSPI_Flash_Dma_TestApp QSPI_FileFlashWrite_Dma_TestApp
130 drvspi_EXAMPLE_LIST = $(spi_EXAMPLE_LIST)
133 # SPI Modules
136 # SPI LIB
137 spi_COMP_LIST = spi
138 spi_RELPATH = ti/drv/spi
139 spi_PATH = $(PDK_SPI_COMP_PATH)
140 spi_LIBNAME = ti.drv.spi
141 export spi_LIBNAME
142 spi_LIBPATH = $(spi_PATH)/lib
143 export spi_LIBPATH
144 spi_OBJPATH = $(spi_RELPATH)/spi
145 export spi_OBJPATH
146 spi_MAKEFILE = -f build/makefile.mk
147 export spi_MAKEFILE
148 spi_BOARD_DEPENDENCY = no
149 spi_CORE_DEPENDENCY = no
150 spi_SOC_DEPENDENCY = yes
151 export spi_COMP_LIST
152 export spi_BOARD_DEPENDENCY
153 export spi_CORE_DEPENDENCY
154 export spi_SOC_DEPENDENCY
155 spi_PKG_LIST = spi
156 export spi_PKG_LIST
157 spi_INCLUDE = $(spi_PATH)
158 spi_SOCLIST = $(drvspi_SOCLIST)
159 export spi_SOCLIST
160 spi_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
161 export spi_$(SOC)_CORELIST
163 # SPI LIB DEVICE INDEPENDENT
164 spi_indp_COMP_LIST = spi_indp
165 spi_indp_RELPATH = ti/drv/spi
166 spi_indp_PATH = $(PDK_SPI_COMP_PATH)
167 spi_indp_LIBNAME = ti.drv.spi
168 export spi_indp_LIBNAME
169 spi_indp_LIBPATH = $(spi_indp_PATH)/lib
170 export spi_indp_LIBPATH
171 spi_indp_OBJPATH = $(spi_indp_RELPATH)/spi_indp
172 export spi_indp_OBJPATH
173 spi_indp_MAKEFILE = -f build/makefile_indp.mk
174 export spi_indp_MAKEFILE
175 spi_indp_BOARD_DEPENDENCY = no
176 spi_indp_CORE_DEPENDENCY = no
177 spi_indp_SOC_DEPENDENCY = no
178 export spi_indp_COMP_LIST
179 export spi_indp_BOARD_DEPENDENCY
180 export spi_indp_CORE_DEPENDENCY
181 export spi_indp_SOC_DEPENDENCY
182 spi_indp_PKG_LIST = spi_indp
183 spi_indp_INCLUDE = $(spi_indp_PATH)
184 spi_indp_SOCLIST = $(drvspi_SOCLISTLIM)
185 export spi_indp_SOCLIST
186 spi_indp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
187 export spi_indp_$(SOC)_CORELIST
189 # SPI DMA LIB
190 spi_dma_COMP_LIST = spi_dma
191 spi_dma_RELPATH = ti/drv/spi
192 spi_dma_PATH = $(PDK_SPI_COMP_PATH)
193 spi_dma_LIBNAME = ti.drv.spi.dma
194 export spi_dma_LIBNAME
195 spi_dma_LIBPATH = $(spi_dma_PATH)/lib
196 export spi_dma_LIBPATH
197 spi_dma_OBJPATH = $(spi_dma_RELPATH)/spi_dma
198 export spi_dma_OBJPATH
199 spi_dma_MAKEFILE = -f build/makefile_dma.mk
200 export spi_dma_MAKEFILE
201 spi_dma_BOARD_DEPENDENCY = no
202 spi_dma_CORE_DEPENDENCY = no
203 spi_dma_SOC_DEPENDENCY = yes
204 export spi_dma_COMP_LIST
205 export spi_dma_BOARD_DEPENDENCY
206 export spi_dma_CORE_DEPENDENCY
207 export spi_dma_SOC_DEPENDENCY
208 spi_dma_PKG_LIST = spi_dma
209 export spi_dma_PKG_LIST
210 spi_dma_INCLUDE = $(spi_dma_PATH)
211 spi_dma_SOCLIST = $(drvspi_dma_SOCLIST)
212 export spi_dma_SOCLIST
213 spi_dma_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
214 export spi_dma_$(SOC)_CORELIST
216 # SPI PROFILING SOC LIB
217 spi_profile_COMP_LIST = spi_profile
218 spi_profile_RELPATH = ti/drv/spi
219 spi_profile_PATH = $(PDK_SPI_COMP_PATH)
220 spi_profile_LIBNAME = ti.drv.spi.profiling
221 export spi_profile_LIBNAME
222 spi_profile_LIBPATH = $(spi_profile_PATH)/lib
223 export spi_profile_LIBPATH
224 spi_profile_OBJPATH = $(spi_profile_RELPATH)/spi_profile
225 export spi_profile_OBJPATH
226 spi_profile_MAKEFILE = -f build/makefile_profile.mk
227 export spi_profile_MAKEFILE
228 spi_profile_BOARD_DEPENDENCY = no
229 spi_profile_CORE_DEPENDENCY = no
230 spi_profile_SOC_DEPENDENCY = yes
231 export spi_profile_COMP_LIST
232 export spi_profile_BOARD_DEPENDENCY
233 export spi_profile_CORE_DEPENDENCY
234 export spi_profile_SOC_DEPENDENCY
235 spi_profile_PKG_LIST = spi_profile
236 spi_profile_INCLUDE = $(spi_profile_PATH)
237 spi_profile_SOCLIST = $(drvspi_SOCLISTLIM)
238 export spi_profile_SOCLIST
239 spi_profile_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
240 export spi_profile_$(SOC)_CORELIST
242 # SPI PROFILING SOC INDEPENDENT LIB
243 spi_profile_indp_COMP_LIST = spi_profile_indp
244 spi_profile_indp_RELPATH = ti/drv/spi
245 spi_profile_indp_PATH = $(PDK_SPI_COMP_PATH)
246 spi_profile_indp_LIBNAME = ti.drv.spi.profiling
247 export spi_profile_indp_LIBNAME
248 spi_profile_indp_LIBPATH = $(spi_profile_indp_PATH)/lib
249 export spi_profile_indp_LIBPATH
250 spi_profile_indp_OBJPATH = $(spi_profile_indp_RELPATH)/spi_profile_indp
251 export spi_profile_indp_OBJPATH
252 spi_profile_indp_MAKEFILE = -f build/makefile_profile_indp.mk
253 export spi_profile_indp_MAKEFILE
254 spi_profile_indp_BOARD_DEPENDENCY = no
255 spi_profile_indp_CORE_DEPENDENCY = no
256 spi_profile_indp_SOC_DEPENDENCY = no
257 export spi_profile_indp_COMP_LIST
258 export spi_profile_indp_BOARD_DEPENDENCY
259 export spi_profile_indp_CORE_DEPENDENCY
260 export spi_profile_indp_SOC_DEPENDENCY
261 spi_profile_indp_PKG_LIST = spi_profile_indp
262 spi_profile_indp_INCLUDE = $(spi_profile_indp_PATH)
263 spi_profile_indp_SOCLIST = $(drvspi_SOCLISTLIM)
264 export spi_profile_indp_SOCLIST
265 spi_profile_indp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
266 export spi_profile_indp_$(SOC)_CORELIST
268 # SPI DMA PROFILING SOC LIB
269 spi_dma_profile_COMP_LIST = spi_dma_profile
270 spi_dma_profile_RELPATH = ti/drv/spi
271 spi_dma_profile_PATH = $(PDK_SPI_COMP_PATH)
272 spi_dma_profile_LIBNAME = ti.drv.spi.profiling.dma
273 export spi_dma_profile_LIBNAME
274 spi_dma_profile_LIBPATH = $(spi_dma_profile_PATH)/lib
275 export spi_dma_profile_LIBPATH
276 spi_dma_profile_OBJPATH = $(spi_dma_profile_RELPATH)/spi_dma_profile
277 export spi_dma_profile_OBJPATH
278 spi_dma_profile_MAKEFILE = -f build/makefile_dma_profile.mk
279 export spi_dma_profile_MAKEFILE
280 spi_dma_profile_BOARD_DEPENDENCY = no
281 spi_dma_profile_CORE_DEPENDENCY = no
282 spi_dma_profile_SOC_DEPENDENCY = yes
283 export spi_dma_profile_COMP_LIST
284 export spi_dma_profile_BOARD_DEPENDENCY
285 export spi_dma_profile_CORE_DEPENDENCY
286 export spi_dma_profile_SOC_DEPENDENCY
287 spi_dma_profile_PKG_LIST = spi_dma_profile
288 spi_dma_profile_INCLUDE = $(spi_dma_profile_PATH)
289 spi_dma_profile_SOCLIST = $(drvspi_SOCLISTLIM)
290 export spi_dma_profile_SOCLIST
291 spi_dma_profile_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
292 export spi_dma_profile_$(SOC)_CORELIST
295 # SPI Firmwares
297 icss_espi_COMP_LIST = icss_espi
298 # temporary fix for nightly build
299 # icss_espi_RELPATH = ti/drv/spi/firmware/icss_espi
300 icss_espi_RELPATH = icss_espi
301 icss_espi_PATH = $(PDK_SPI_COMP_PATH)/firmware/icss_espi
302 icss_espi_HEADERNAME = icss_espi
303 export icss_espi_HEADERNAME
304 icss_espi_HEADERPATH = $(icss_espi_PATH)/bin
305 export icss_espi_HEADERPATH
306 icss_espi_OBJPATH = $(icss_espi_RELPATH)
307 export icss_espi_OBJPATH
308 icss_espi_MAKEFILE = -f ../../build/makefile_icss_espi.mk
309 export icss_espi_MAKEFILE
310 icss_espi_BOARD_DEPENDENCY = no
311 icss_espi_CORE_DEPENDENCY = yes
312 icss_espi_SOC_DEPENDENCY = yes
313 export icss_espi_COMP_LIST
314 export icss_espi_BOARD_DEPENDENCY
315 export icss_espi_CORE_DEPENDENCY
316 export icss_espi_SOC_DEPENDENCY
317 icss_espi_PKG_LIST = icss_espi
318 export icss_espi_PKG_LIST
319 icss_espi_INCLUDE = $(icss_espi_PATH)
320 icss_espi_SOCLIST = am437x am335x
321 export icss_espii_SOCLIST
322 icss_espi_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
323 export icss_espi_$(SOC)_CORELIST
326 # SPI Examples
328 # SPI Polling mode Test app
329 drv_mcspi_loopback_app_COMP_LIST = drv_mcspi_loopback_app
330 drv_mcspi_loopback_app_RELPATH = ti/drv/spi/example/mcspiLoopbackApp
331 drv_mcspi_loopback_app_PATH = $(PDK_SPI_COMP_PATH)/example/mcspiLoopbackApp
332 drv_mcspi_loopback_app_BOARD_DEPENDENCY = yes
333 drv_mcspi_loopback_app_CORE_DEPENDENCY = no
334 drv_mcspi_loopback_app_XDC_CONFIGURO = yes
335 export drv_mcspi_loopback_app_COMP_LIST
336 export drv_mcspi_loopback_app_BOARD_DEPENDENCY
337 export drv_mcspi_loopback_app_CORE_DEPENDENCY
338 export drv_mcspi_loopback_app_XDC_CONFIGURO
339 drv_mcspi_loopback_app_PKG_LIST = drv_mcspi_loopback_app
340 drv_mcspi_loopback_app_INCLUDE = $(drv_mcspi_loopback_app_PATH)
341 drv_mcspi_loopback_app_SOCLIST = tda2xx tda2px tda2ex tda3xx dra72x dra75x dra78x
342 export drv_mcspi_loopback_app_SOCLIST
343 drv_mcspi_loopback_app_$(SOC)_CORELIST = $(spi_$(SOC)_CORELIST)
344 export drv_mcspi_loopback_app_$(SOC)_CORELIST
346 # SPI baremetal master Test app
347 MCSPI_Baremetal_Master_TestApp_COMP_LIST = MCSPI_Baremetal_Master_TestApp
348 export MCSPI_Baremetal_Master_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
349 MCSPI_Baremetal_Master_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
350 MCSPI_Baremetal_Master_TestApp_BOARD_DEPENDENCY = yes
351 MCSPI_Baremetal_Master_TestApp_CORE_DEPENDENCY = no
352 MCSPI_Baremetal_Master_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes
353 export MCSPI_Baremetal_Master_TestApp_COMP_LIST
354 export MCSPI_Baremetal_Master_TestApp_BOARD_DEPENDENCY
355 export MCSPI_Baremetal_Master_TestApp_CORE_DEPENDENCY
356 export MCSPI_Baremetal_Master_TestApp_MAKEFILE
357 MCSPI_Baremetal_Master_TestApp_PKG_LIST = MCSPI_Baremetal_Master_TestApp
358 MCSPI_Baremetal_Master_TestApp_INCLUDE = $(MCSPI_Baremetal_Master_TestApp_PATH)
359 MCSPI_Baremetal_Master_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
360 export MCSPI_Baremetal_Master_TestApp_BOARDLIST
361 ifeq ($(SOC),$(filter $(SOC), am64x))
362 MCSPI_Baremetal_Master_TestApp_$(SOC)_CORELIST = mcu1_0 mpu1_0 m4f_0
363 else
364 MCSPI_Baremetal_Master_TestApp_$(SOC)_CORELIST = mcu1_0
365 endif
366 export MCSPI_Baremetal_Master_TestApp_$(SOC)_CORELIST
367 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
368 export MCSPI_Baremetal_Master_TestApp_SBL_APPIMAGEGEN = yes
369 endif
371 # SPI baremetal slave Test app
372 MCSPI_Baremetal_Slave_TestApp_COMP_LIST = MCSPI_Baremetal_Slave_TestApp
373 export MCSPI_Baremetal_Slave_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
374 MCSPI_Baremetal_Slave_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
375 MCSPI_Baremetal_Slave_TestApp_BOARD_DEPENDENCY = yes
376 MCSPI_Baremetal_Slave_TestApp_CORE_DEPENDENCY = no
377 MCSPI_Baremetal_Slave_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes
378 export MCSPI_Baremetal_Slave_TestApp_COMP_LIST
379 export MCSPI_Baremetal_Slave_TestApp_BOARD_DEPENDENCY
380 export MCSPI_Baremetal_Slave_TestApp_CORE_DEPENDENCY
381 export MCSPI_Baremetal_Slave_TestApp_MAKEFILE
382 MCSPI_Baremetal_Slave_TestApp_PKG_LIST = MCSPI_Baremetal_Slave_TestApp
383 MCSPI_Baremetal_Slave_TestApp_INCLUDE = $(MCSPI_Baremetal_Slave_TestApp_PATH)
384 MCSPI_Baremetal_Slave_TestApp_BOARDLIST = am65xx_evm am65xx_idk j721e_sim j721e_evm j7200_evm
385 export MCSPI_Baremetal_Slave_TestApp_BOARDLIST
386 MCSPI_Baremetal_Slave_TestApp_$(SOC)_CORELIST = mpu1_0
387 export MCSPI_Baremetal_Slave_TestApp_$(SOC)_CORELIST
388 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200))
389 export MCSPI_Baremetal_Slave_TestApp_SBL_APPIMAGEGEN = yes
390 endif
392 # SPI baremetal master Test app
393 MCSPI_Baremetal_Master_Dma_TestApp_COMP_LIST = MCSPI_Baremetal_Master_Dma_TestApp
394 export MCSPI_Baremetal_Master_Dma_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
395 MCSPI_Baremetal_Master_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
396 MCSPI_Baremetal_Master_Dma_TestApp_BOARD_DEPENDENCY = yes
397 MCSPI_Baremetal_Master_Dma_TestApp_CORE_DEPENDENCY = no
398 MCSPI_Baremetal_Master_Dma_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes DMA=enable
399 export MCSPI_Baremetal_Master_Dma_TestApp_COMP_LIST
400 export MCSPI_Baremetal_Master_Dma_TestApp_BOARD_DEPENDENCY
401 export MCSPI_Baremetal_Master_Dma_TestApp_CORE_DEPENDENCY
402 export MCSPI_Baremetal_Master_Dma_TestApp_MAKEFILE
403 MCSPI_Baremetal_Master_Dma_TestApp_PKG_LIST = MCSPI_Baremetal_Master_Dma_TestApp
404 MCSPI_Baremetal_Master_Dma_TestApp_INCLUDE = $(MCSPI_Baremetal_Master_Dma_TestApp_PATH)
405 MCSPI_Baremetal_Master_Dma_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
406 export MCSPI_Baremetal_Master_Dma_TestApp_BOARDLIST
407 ifeq ($(SOC),$(filter $(SOC), am64x))
408 MCSPI_Baremetal_Master_Dma_TestApp_$(SOC)_CORELIST = mcu1_0 mpu1_0
409 else
410 MCSPI_Baremetal_Master_Dma_TestApp_$(SOC)_CORELIST = mcu1_0
411 endif
412 export MCSPI_Baremetal_Master_Dma_TestApp_$(SOC)_CORELIST
413 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
414 export MCSPI_Baremetal_Master_Dma_TestApp_SBL_APPIMAGEGEN = yes
415 endif
417 # SPI baremetal slave Test app
418 MCSPI_Baremetal_Slave_Dma_TestApp_COMP_LIST = MCSPI_Baremetal_Slave_Dma_TestApp
419 export MCSPI_Baremetal_Slave_Dma_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
420 MCSPI_Baremetal_Slave_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
421 MCSPI_Baremetal_Slave_Dma_TestApp_BOARD_DEPENDENCY = yes
422 MCSPI_Baremetal_Slave_Dma_TestApp_CORE_DEPENDENCY = no
423 MCSPI_Baremetal_Slave_Dma_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes DMA=enable
424 export MCSPI_Baremetal_Slave_Dma_TestApp_COMP_LIST
425 export MCSPI_Baremetal_Slave_Dma_TestApp_BOARD_DEPENDENCY
426 export MCSPI_Baremetal_Slave_Dma_TestApp_CORE_DEPENDENCY
427 export MCSPI_Baremetal_Slave_Dma_TestApp_MAKEFILE
428 MCSPI_Baremetal_Slave_Dma_TestApp_PKG_LIST = MCSPI_Baremetal_Slave_Dma_TestApp
429 MCSPI_Baremetal_Slave_Dma_TestApp_INCLUDE = $(MCSPI_Baremetal_Slave_Dma_TestApp_PATH)
430 MCSPI_Baremetal_Slave_Dma_TestApp_BOARDLIST = am65xx_evm am65xx_idk j721e_sim j721e_evm j7200_evm
431 export MCSPI_Baremetal_Slave_Dma_TestApp_BOARDLIST
432 MCSPI_Baremetal_Slave_Dma_TestApp_$(SOC)_CORELIST = mpu1_0
433 export MCSPI_Baremetal_Slave_Dma_TestApp_$(SOC)_CORELIST
434 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200))
435 export MCSPI_Baremetal_Slave_Dma_TestApp_SBL_APPIMAGEGEN = yes
436 endif
438 # SPI master Test app
439 MCSPI_Master_TestApp_COMP_LIST = MCSPI_Master_TestApp
440 export MCSPI_Master_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
441 MCSPI_Master_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
442 MCSPI_Master_TestApp_BOARD_DEPENDENCY = yes
443 MCSPI_Master_TestApp_CORE_DEPENDENCY = no
444 MCSPI_Master_TestApp_XDC_CONFIGURO = yes
445 MCSPI_Master_TestApp_MAKEFILE = -f makefile
446 export MCSPI_Master_TestApp_COMP_LIST
447 export MCSPI_Master_TestApp_BOARD_DEPENDENCY
448 export MCSPI_Master_TestApp_CORE_DEPENDENCY
449 export MCSPI_Master_TestApp_XDC_CONFIGURO
450 export MCSPI_Master_TestApp_MAKEFILE
451 MCSPI_Master_TestApp_PKG_LIST = MCSPI_Master_TestApp
452 MCSPI_Master_TestApp_INCLUDE = $(MCSPI_Master_TestApp_PATH)
453 MCSPI_Master_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
454 export MCSPI_Master_TestApp_BOARDLIST
455 ifeq ($(SOC),$(filter $(SOC), am64x))
456 MCSPI_Master_TestApp_$(SOC)_CORELIST = mcu1_0 mpu1_0
457 else
458 MCSPI_Master_TestApp_$(SOC)_CORELIST = mcu1_0
459 endif
460 export MCSPI_Master_TestApp_$(SOC)_CORELIST
461 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
462 export MCSPI_Master_TestApp_SBL_APPIMAGEGEN = yes
463 endif
465 # SPI slave Test app
466 MCSPI_Slave_TestApp_COMP_LIST = MCSPI_Slave_TestApp
467 export MCSPI_Slave_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
468 MCSPI_Slave_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
469 MCSPI_Slave_TestApp_BOARD_DEPENDENCY = yes
470 MCSPI_Slave_TestApp_CORE_DEPENDENCY = no
471 MCSPI_Slave_TestApp_XDC_CONFIGURO = yes
472 MCSPI_Slave_TestApp_MAKEFILE = -f makefile
473 export MCSPI_Slave_TestApp_COMP_LIST
474 export MCSPI_Slave_TestApp_BOARD_DEPENDENCY
475 export MCSPI_Slave_TestApp_CORE_DEPENDENCY
476 export MCSPI_Slave_TestApp_XDC_CONFIGURO
477 export MCSPI_Slave_TestApp_MAKEFILE
478 MCSPI_Slave_TestApp_PKG_LIST = MCSPI_Slave_TestApp
479 MCSPI_Slave_TestApp_INCLUDE = $(MCSPI_Slave_TestApp_PATH)
480 MCSPI_Slave_TestApp_BOARDLIST = am65xx_evm am65xx_idk j721e_sim j721e_evm j7200_evm
481 export MCSPI_Slave_TestApp_BOARDLIST
482 ifeq ($(SOC),$(filter $(SOC), j721e j7200))
483 MCSPI_Slave_TestApp_$(SOC)_CORELIST = mpu1_0
484 else
485 MCSPI_Slave_TestApp_$(SOC)_CORELIST = mpu1_0
486 endif
487 export MCSPI_Slave_TestApp_$(SOC)_CORELIST
488 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200))
489 export MCSPI_Slave_TestApp_SBL_APPIMAGEGEN = yes
490 endif
492 # SPI master DMA Test app
493 MCSPI_Master_Dma_TestApp_COMP_LIST = MCSPI_Master_Dma_TestApp
494 export MCSPI_Master_Dma_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
495 MCSPI_Master_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
496 MCSPI_Master_Dma_TestApp_BOARD_DEPENDENCY = yes
497 MCSPI_Master_Dma_TestApp_CORE_DEPENDENCY = no
498 MCSPI_Master_Dma_TestApp_XDC_CONFIGURO = yes
499 MCSPI_Master_Dma_TestApp_MAKEFILE = -f makefile DMA=enable
500 export MCSPI_Master_Dma_TestApp_COMP_LIST
501 export MCSPI_Master_Dma_TestApp_BOARD_DEPENDENCY
502 export MCSPI_Master_Dma_TestApp_CORE_DEPENDENCY
503 export MCSPI_Master_Dma_TestApp_XDC_CONFIGURO
504 export MCSPI_Master_Dma_TestApp_MAKEFILE
505 MCSPI_Master_Dma_TestApp_PKG_LIST = MCSPI_Master_Dma_TestApp
506 MCSPI_Master_Dma_TestApp_INCLUDE = $(MCSPI_Master_Dma_TestApp_PATH)
507 MCSPI_Master_Dma_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
508 export MCSPI_Master_Dma_TestApp_BOARDLIST
509 ifeq ($(SOC),$(filter $(SOC), am64x))
510 MCSPI_Master_Dma_TestApp_$(SOC)_CORELIST = mcu1_0 mpu1_0
511 else
512 MCSPI_Master_Dma_TestApp_$(SOC)_CORELIST = mcu1_0
513 endif
514 export MCSPI_Master_Dma_TestApp_$(SOC)_CORELIST
515 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
516 export MCSPI_Master_Dma_TestApp_SBL_APPIMAGEGEN = yes
517 endif
519 # SPI slave DMA Test app
520 MCSPI_Slave_Dma_TestApp_COMP_LIST = MCSPI_Slave_Dma_TestApp
521 export MCSPI_Slave_Dma_TestApp_RELPATH = ti/drv/spi/example/mcspi_slavemode
522 MCSPI_Slave_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/example/mcspi_slavemode
523 MCSPI_Slave_Dma_TestApp_BOARD_DEPENDENCY = yes
524 MCSPI_Slave_Dma_TestApp_CORE_DEPENDENCY = no
525 MCSPI_Slave_Dma_TestApp_XDC_CONFIGURO = yes
526 MCSPI_Slave_Dma_TestApp_MAKEFILE = -f makefile DMA=enable
527 export MCSPI_Slave_Dma_TestApp_COMP_LIST
528 export MCSPI_Slave_Dma_TestApp_BOARD_DEPENDENCY
529 export MCSPI_Slave_Dma_TestApp_CORE_DEPENDENCY
530 export MCSPI_Slave_Dma_TestApp_XDC_CONFIGURO
531 export MCSPI_Slave_Dma_TestApp_MAKEFILE
532 MCSPI_Slave_Dma_TestApp_PKG_LIST = MCSPI_Slave_Dma_TestApp
533 MCSPI_Slave_Dma_TestApp_INCLUDE = $(MCSPI_Slave_Dma_TestApp_PATH)
534 MCSPI_Slave_Dma_TestApp_BOARDLIST = am65xx_evm am65xx_idk j721e_sim j721e_evm j7200_evm
535 export MCSPI_Slave_Dma_TestApp_BOARDLIST
536 MCSPI_Slave_Dma_TestApp_$(SOC)_CORELIST = mpu1_0
537 export MCSPI_Slave_Dma_TestApp_$(SOC)_CORELIST
538 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200))
539 export MCSPI_Slave_Dma_TestApp_SBL_APPIMAGEGEN = yes
540 endif
542 # OSPI baremetal Flash Test app
543 OSPI_Baremetal_Flash_TestApp_COMP_LIST = OSPI_Baremetal_Flash_TestApp
544 OSPI_Baremetal_Flash_TestApp_RELPATH = ti/drv/spi/test/ospi_flash
545 OSPI_Baremetal_Flash_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/ospi_flash
546 OSPI_Baremetal_Flash_TestApp_BOARD_DEPENDENCY = yes
547 OSPI_Baremetal_Flash_TestApp_CORE_DEPENDENCY = no
548 OSPI_Baremetal_Flash_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes
549 export OSPI_Baremetal_Flash_TestApp_COMP_LIST
550 export OSPI_Baremetal_Flash_TestApp_BOARD_DEPENDENCY
551 export OSPI_Baremetal_Flash_TestApp_CORE_DEPENDENCY
552 export OSPI_Baremetal_Flash_TestApp_MAKEFILE
553 OSPI_Baremetal_Flash_TestApp_PKG_LIST = OSPI_Baremetal_Flash_TestApp
554 OSPI_Baremetal_Flash_TestApp_INCLUDE = $(OSPI_Baremetal_Flash_TestApp_PATH)
555 OSPI_Baremetal_Flash_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
556 export OSPI_Baremetal_Flash_TestApp_BOARDLIST
557 ifeq ($(SOC),$(filter $(SOC), j721e am64x))
558 OSPI_Baremetal_Flash_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELISTARM)
559 else
560 OSPI_Baremetal_Flash_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
561 endif
562 export OSPI_Baremetal_Flash_TestApp_$(SOC)_CORELIST
564 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
565 OSPI_Baremetal_Flash_TestApp_SBL_APPIMAGEGEN = yes
566 export OSPI_Baremetal_Flash_TestApp_SBL_APPIMAGEGEN
567 endif
569 # OSPI baremetal dma Flash Test app
570 OSPI_Baremetal_Flash_Dma_TestApp_COMP_LIST = OSPI_Baremetal_Flash_Dma_TestApp
571 OSPI_Baremetal_Flash_Dma_TestApp_RELPATH = ti/drv/spi/test/ospi_flash
572 OSPI_Baremetal_Flash_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/ospi_flash
573 OSPI_Baremetal_Flash_Dma_TestApp_BOARD_DEPENDENCY = yes
574 OSPI_Baremetal_Flash_Dma_TestApp_CORE_DEPENDENCY = no
575 OSPI_Baremetal_Flash_Dma_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes DMA=enable
576 export OSPI_Baremetal_Flash_Dma_TestApp_COMP_LIST
577 export OSPI_Baremetal_Flash_Dma_TestApp_BOARD_DEPENDENCY
578 export OSPI_Baremetal_Flash_Dma_TestApp_CORE_DEPENDENCY
579 export OSPI_Baremetal_Flash_Dma_TestApp_MAKEFILE
580 OSPI_Baremetal_Flash_Dma_TestApp_PKG_LIST = OSPI_Baremetal_Flash_Dma_TestApp
581 OSPI_Baremetal_Flash_Dma_TestApp_INCLUDE = $(OSPI_Baremetal_Flash_Dma_TestApp_PATH)
582 OSPI_Baremetal_Flash_Dma_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
583 export OSPI_Baremetal_Flash_Dma_TestApp_BOARDLIST
584 ifeq ($(SOC),$(filter $(SOC), j721e am64x))
585 OSPI_Baremetal_Flash_Dma_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELISTARM)
586 else
587 OSPI_Baremetal_Flash_Dma_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
588 endif
589 export OSPI_Baremetal_Flash_Dma_TestApp_$(SOC)_CORELIST
591 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
592 OSPI_Baremetal_Flash_Dma_TestApp_SBL_APPIMAGEGEN = yes
593 export OSPI_Baremetal_Flash_Dma_TestApp_SBL_APPIMAGEGEN
594 endif
596 # OSPI rtos Flash Test app
597 OSPI_Flash_TestApp_COMP_LIST = OSPI_Flash_TestApp
598 OSPI_Flash_TestApp_RELPATH = ti/drv/spi/test/ospi_flash
599 OSPI_Flash_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/ospi_flash
600 OSPI_Flash_TestApp_BOARD_DEPENDENCY = yes
601 OSPI_Flash_TestApp_CORE_DEPENDENCY = no
602 OSPI_Flash_TestApp_XDC_CONFIGURO = yes
603 OSPI_Flash_TestApp_MAKEFILE = -f makefile
604 export OSPI_Flash_TestApp_COMP_LIST
605 export OSPI_Flash_TestApp_BOARD_DEPENDENCY
606 export OSPI_Flash_TestApp_CORE_DEPENDENCY
607 export OSPI_Flash_TestApp_XDC_CONFIGURO
608 export OSPI_Flash_TestApp_MAKEFILE
609 OSPI_Flash_TestApp_PKG_LIST = OSPI_Flash_TestApp
610 OSPI_Flash_TestApp_INCLUDE = $(OSPI_Flash_TestApp_PATH)
611 OSPI_Flash_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
612 export OSPI_Flash_TestApp_BOARDLIST
613 ifeq ($(SOC),$(filter $(SOC), j721e am64x))
614 OSPI_Flash_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELISTARM)
615 else
616 OSPI_Flash_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
617 endif
618 export OSPI_Flash_TestApp_$(SOC)_CORELIST
620 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
621 OSPI_Flash_TestApp_SBL_APPIMAGEGEN = yes
622 export OSPI_Flash_TestApp_SBL_APPIMAGEGEN
623 endif
625 # OSPI rtos Flash Test app with SMP enabled
626 OSPI_Flash_SMP_TestApp_COMP_LIST = OSPI_Flash_SMP_TestApp
627 OSPI_Flash_SMP_TestApp_RELPATH = ti/drv/spi/test/ospi_flash
628 OSPI_Flash_SMP_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/ospi_flash
629 OSPI_Flash_SMP_TestApp_BOARD_DEPENDENCY = yes
630 OSPI_Flash_SMP_TestApp_CORE_DEPENDENCY = no
631 OSPI_Flash_SMP_TestApp_XDC_CONFIGURO = yes
632 OSPI_Flash_SMP_TestApp_MAKEFILE = -f makefile SMP=enable
633 export OSPI_Flash_SMP_TestApp_COMP_LIST
634 export OSPI_Flash_SMP_TestApp_BOARD_DEPENDENCY
635 export OSPI_Flash_SMP_TestApp_CORE_DEPENDENCY
636 export OSPI_Flash_SMP_TestApp_XDC_CONFIGURO
637 export OSPI_Flash_SMP_TestApp_MAKEFILE
638 OSPI_Flash_SMP_TestApp_PKG_LIST = OSPI_Flash_SMP_TestApp
639 OSPI_Flash_SMP_TestApp_INCLUDE = $(OSPI_Flash_SMP_TestApp_PATH)
640 OSPI_Flash_SMP_TestApp_BOARDLIST = am65xx_idk
641 export OSPI_Flash_SMP_TestApp_BOARDLIST
642 OSPI_Flash_SMP_TestApp_$(SOC)_CORELIST = mpu1_0
643 export OSPI_Flash_SMP_TestApp_$(SOC)_CORELIST
645 ifeq ($(SOC),$(filter $(SOC), j721e am65xx))
646 OSPI_Flash_SMP_TestApp_SBL_APPIMAGEGEN = yes
647 export OSPI_Flash_SMP_TestApp_SBL_APPIMAGEGEN
648 endif
650 # OSPI rtos DMA Flash Test app
651 OSPI_Flash_Dma_TestApp_COMP_LIST = OSPI_Flash_Dma_TestApp
652 OSPI_Flash_Dma_TestApp_RELPATH = ti/drv/spi/test/ospi_flash
653 OSPI_Flash_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/ospi_flash
654 OSPI_Flash_Dma_TestApp_BOARD_DEPENDENCY = yes
655 OSPI_Flash_Dma_TestApp_CORE_DEPENDENCY = no
656 OSPI_Flash_Dma_TestApp_XDC_CONFIGURO = yes
657 OSPI_Flash_Dma_TestApp_MAKEFILE = -f makefile DMA=enable
658 export OSPI_Flash_Dma_TestApp_COMP_LIST
659 export OSPI_Flash_Dma_TestApp_BOARD_DEPENDENCY
660 export OSPI_Flash_Dma_TestApp_CORE_DEPENDENCY
661 export OSPI_Flash_Dma_TestApp_XDC_CONFIGURO
662 export OSPI_Flash_Dma_TestApp_MAKEFILE
663 OSPI_Flash_Dma_TestApp_PKG_LIST = OSPI_Flash_Dma_TestApp
664 OSPI_Flash_Dma_TestApp_INCLUDE = $(OSPI_Flash_Dma_TestApp_PATH)
665 OSPI_Flash_Dma_TestApp_BOARDLIST = $(drvspi_BOARDLIST)
666 export OSPI_Flash_Dma_TestApp_BOARDLIST
667 ifeq ($(SOC),$(filter $(SOC), j721e am64x))
668 OSPI_Flash_Dma_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELISTARM)
669 else
670 OSPI_Flash_Dma_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
671 endif
672 export OSPI_Flash_Dma_TestApp_$(SOC)_CORELIST
674 ifeq ($(SOC),$(filter $(SOC), j721e am65xx j7200 am64x))
675 OSPI_Flash_Dma_TestApp_SBL_APPIMAGEGEN = yes
676 export OSPI_Flash_Dma_TestApp_SBL_APPIMAGEGEN
677 endif
679 # OSPI rtos DMA Flash Test app with SMP enabled
680 OSPI_Flash_Dma_SMP_TestApp_COMP_LIST = OSPI_Flash_Dma_SMP_TestApp
681 OSPI_Flash_Dma_SMP_TestApp_RELPATH = ti/drv/spi/test/ospi_flash
682 OSPI_Flash_Dma_SMP_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/ospi_flash
683 OSPI_Flash_Dma_SMP_TestApp_BOARD_DEPENDENCY = yes
684 OSPI_Flash_Dma_SMP_TestApp_CORE_DEPENDENCY = no
685 OSPI_Flash_Dma_SMP_TestApp_XDC_CONFIGURO = yes
686 OSPI_Flash_Dma_SMP_TestApp_MAKEFILE = -f makefile DMA=enable SMP=enable
687 export OSPI_Flash_Dma_SMP_TestApp_COMP_LIST
688 export OSPI_Flash_Dma_SMP_TestApp_BOARD_DEPENDENCY
689 export OSPI_Flash_Dma_SMP_TestApp_CORE_DEPENDENCY
690 export OSPI_Flash_Dma_SMP_TestApp_XDC_CONFIGURO
691 export OSPI_Flash_Dma_SMP_TestApp_MAKEFILE
692 OSPI_Flash_Dma_SMP_TestApp_PKG_LIST = OSPI_Flash_Dma_SMP_TestApp
693 OSPI_Flash_Dma_SMP_TestApp_INCLUDE = $(OSPI_Flash_Dma_SMP_TestApp_PATH)
694 OSPI_Flash_Dma_SMP_TestApp_BOARDLIST = am65xx_idk
695 export OSPI_Flash_Dma_SMP_TestApp_BOARDLIST
696 OSPI_Flash_Dma_SMP_TestApp_$(SOC)_CORELIST = mpu1_0
697 export OSPI_Flash_Dma_SMP_TestApp_$(SOC)_CORELIST
699 ifeq ($(SOC),$(filter $(SOC), j721e am65xx))
700 OSPI_Flash_Dma_SMP_TestApp_SBL_APPIMAGEGEN = yes
701 export OSPI_Flash_Dma_SMP_TestApp_SBL_APPIMAGEGEN
702 endif
704 # QSPI Baremetal Flash Test app
705 QSPI_Baremetal_Flash_TestApp_COMP_LIST = QSPI_Baremetal_Flash_TestApp
706 QSPI_Baremetal_Flash_TestApp_RELPATH = ti/drv/spi/test/qspi_flash
707 QSPI_Baremetal_Flash_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/qspi_flash
708 QSPI_Baremetal_Flash_TestApp_BOARD_DEPENDENCY = yes
709 QSPI_Baremetal_Flash_TestApp_CORE_DEPENDENCY = yes
710 QSPI_Baremetal_Flash_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes
711 export QSPI_Baremetal_Flash_TestApp_COMP_LIST
712 export QSPI_Baremetal_Flash_TestApp_BOARD_DEPENDENCY
713 export QSPI_Baremetal_Flash_TestApp_CORE_DEPENDENCY
714 export QSPI_Baremetal_Flash_TestApp_MAKEFILE
715 QSPI_Baremetal_Flash_TestApp_PKG_LIST = QSPI_Baremetal_Flash_TestApp
716 QSPI_Baremetal_Flash_TestApp_INCLUDE = $(QSPI_Baremetal_Flash_TestApp_PATH)
717 QSPI_Baremetal_Flash_TestApp_BOARDLIST = tpr12_evm tpr12_qt awr294x_evm
718 export QSPI_Baremetal_Flash_TestApp_BOARDLIST
719 QSPI_Baremetal_Flash_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
721 # QSPI Flash Test app
722 QSPI_Flash_TestApp_COMP_LIST = QSPI_Flash_TestApp
723 QSPI_Flash_TestApp_RELPATH = ti/drv/spi/test/qspi_flash
724 QSPI_Flash_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/qspi_flash
725 QSPI_Flash_TestApp_BOARD_DEPENDENCY = yes
726 QSPI_Flash_TestApp_CORE_DEPENDENCY = yes
727 QSPI_Flash_TestApp_XDC_CONFIGURO = yes
728 QSPI_Flash_TestApp_MAKEFILE = -f makefile
729 export QSPI_Flash_TestApp_COMP_LIST
730 export QSPI_Flash_TestApp_BOARD_DEPENDENCY
731 export QSPI_Flash_TestApp_CORE_DEPENDENCY
732 export QSPI_Flash_TestApp_XDC_CONFIGURO
733 export QSPI_Flash_TestApp_MAKEFILE
734 QSPI_Flash_TestApp_PKG_LIST = QSPI_Flash_TestApp
735 QSPI_Flash_TestApp_INCLUDE = $(QSPI_Flash_TestApp_PATH)
736 QSPI_Flash_TestApp_BOARDLIST = tpr12_evm tpr12_qt awr294x_evm
737 export QSPI_Flash_TestApp_BOARDLIST
738 QSPI_Flash_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
740 # QSPI Baremetal dma Flash Test app
741 QSPI_Baremetal_Flash_Dma_TestApp_COMP_LIST = QSPI_Baremetal_Flash_Dma_TestApp
742 QSPI_Baremetal_Flash_Dma_TestApp_RELPATH = ti/drv/spi/test/qspi_flash
743 QSPI_Baremetal_Flash_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/qspi_flash
744 QSPI_Baremetal_Flash_Dma_TestApp_BOARD_DEPENDENCY = yes
745 QSPI_Baremetal_Flash_Dma_TestApp_CORE_DEPENDENCY = yes
746 QSPI_Baremetal_Flash_Dma_TestApp_MAKEFILE = -f makefile IS_BAREMETAL=yes DMA=enable
747 export QSPI_Baremetal_Flash_Dma_TestApp_COMP_LIST
748 export QSPI_Baremetal_Flash_Dma_TestApp_BOARD_DEPENDENCY
749 export QSPI_Baremetal_Flash_Dma_TestApp_CORE_DEPENDENCY
750 export QSPI_Baremetal_Flash_Dma_TestApp_MAKEFILE
751 QSPI_Baremetal_Flash_Dma_TestApp_PKG_LIST = QSPI_Baremetal_Flash_Dma_TestApp
752 QSPI_Baremetal_Flash_Dma_TestApp_INCLUDE = $(QSPI_Baremetal_Flash_Dma_TestApp_PATH)
753 QSPI_Baremetal_Flash_Dma_TestApp_BOARDLIST = tpr12_evm tpr12_qt awr294x_evm
754 export QSPI_Baremetal_Flash_Dma_TestApp_BOARDLIST
755 QSPI_Baremetal_Flash_Dma_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
757 # QSPI dma Flash Test app
758 QSPI_Flash_Dma_TestApp_COMP_LIST = QSPI_Flash_Dma_TestApp
759 QSPI_Flash_Dma_TestApp_RELPATH = ti/drv/spi/test/qspi_flash
760 QSPI_Flash_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/qspi_flash
761 QSPI_Flash_Dma_TestApp_BOARD_DEPENDENCY = yes
762 QSPI_Flash_Dma_TestApp_CORE_DEPENDENCY = yes
763 QSPI_Flash_Dma_TestApp_XDC_CONFIGURO = yes
764 QSPI_Flash_Dma_TestApp_MAKEFILE = -f makefile DMA=enable
765 export QSPI_Flash_Dma_TestApp_COMP_LIST
766 export QSPI_Flash_Dma_TestApp_BOARD_DEPENDENCY
767 export QSPI_Flash_Dma_TestApp_CORE_DEPENDENCY
768 export QSPI_Flash_Dma_TestApp_XDC_CONFIGURO
769 export QSPI_Flash_Dma_TestApp_MAKEFILE
770 QSPI_Flash_Dma_TestApp_PKG_LIST = QSPI_Flash_Dma_TestApp
771 QSPI_Flash_Dma_TestApp_INCLUDE = $(QSPI_Flash_Dma_TestApp_PATH)
772 QSPI_Flash_Dma_TestApp_BOARDLIST = tpr12_evm tpr12_qt awr294x_evm
773 export QSPI_Flash_Dma_TestApp_BOARDLIST
774 QSPI_Flash_Dma_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
776 # QSPI dma File Flash Write Test app. 
777 # This app allows us to write files to flash device using CCS.
778 # This is temporary till we got correct uniflash support in TPR12.
779 QSPI_FileFlashWrite_Dma_TestApp_COMP_LIST = QSPI_FileFlashWrite_Dma_TestApp
780 QSPI_FileFlashWrite_Dma_TestApp_RELPATH = ti/drv/spi/test/qspi_flash
781 QSPI_FileFlashWrite_Dma_TestApp_PATH = $(PDK_SPI_COMP_PATH)/test/qspi_flash
782 QSPI_FileFlashWrite_Dma_TestApp_BOARD_DEPENDENCY = yes
783 QSPI_FileFlashWrite_Dma_TestApp_CORE_DEPENDENCY = yes
784 QSPI_FileFlashWrite_Dma_TestApp_XDC_CONFIGURO = yes
785 QSPI_FileFlashWrite_Dma_TestApp_MAKEFILE = -f makefile_ccs_flash_write DMA=enable
786 export QSPI_FileFlashWrite_Dma_TestApp_COMP_LIST
787 export QSPI_FileFlashWrite_Dma_TestApp_BOARD_DEPENDENCY
788 export QSPI_FileFlashWrite_Dma_TestApp_CORE_DEPENDENCY
789 export QSPI_FileFlashWrite_Dma_TestApp_XDC_CONFIGURO
790 export QSPI_FileFlashWrite_Dma_TestApp_MAKEFILE
791 QSPI_FileFlashWrite_Dma_TestApp_PKG_LIST = QSPI_FileFlashWrite_Dma_TestApp
792 QSPI_FileFlashWrite_Dma_TestApp_INCLUDE = $(QSPI_FileFlashWrite_Dma_TestApp_PATH)
793 QSPI_FileFlashWrite_Dma_TestApp_BOARDLIST = tpr12_evm tpr12_qt awr294x_evm
794 export QSPI_FileFlashWrite_Dma_TestApp_BOARDLIST
795 QSPI_FileFlashWrite_Dma_TestApp_$(SOC)_CORELIST = $(drvspi_$(SOC)_CORELIST)
797 export drvspi_LIB_LIST
798 export spi_LIB_LIST
799 export spi_EXAMPLE_LIST
800 export drvspi_FIRM_LIST
801 export spi_FIRM_LIST
802 export drvspi_EXAMPLE_LIST
804 spi_component_make_include := 1
805 endif