1 #
2 # Copyright (c) 2018, 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: sbl_component.mk
34 # This file is component include make file of SBL.
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 # platform and the compiled obj/lib has to be kept
47 # under <platform> directory
48 # "no" or "" or if this variable is not defined: means
49 # this module has no platform dependent code and hence
50 # the obj/libs are not kept under <platform> 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 ($(sbl_component_make_include), )
69 sbl_BOARDLIST = am65xx_evm am65xx_idk j721e_evm j7200_evm am64x_evm tpr12_evm
71 sbl_SOCLIST = am65xx j721e j7200 am64x tpr12
73 am65xx_smp_CORELIST := mcu1_0 mpu1_0 mpu2_0
74 sbl_am65xx_CORELIST := mcu1_0 mcu1_1 mpu1_0 mpu1_1 mpu2_0 mpu2_1
75 am65xx_LASTCORE := $(word $(words $(sbl_am65xx_CORELIST)), $(sbl_am65xx_CORELIST))
77 j721e_smp_CORELIST := mcu1_0 mcu2_0 mcu3_0 mpu1_0
78 sbl_j721e_CORELIST := mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 mpu1_0 mpu1_1
79 j721e_LASTCORE := $(word $(words $(sbl_j721e_CORELIST)), $(sbl_j721e_CORELIST))
81 j7200_smp_CORELIST := mcu1_0 mcu2_0 mpu1_0
82 sbl_j7200_CORELIST := mcu1_0 mcu1_1 mcu2_0 mcu2_1 mpu1_0 mpu1_1
83 j7200_LASTCORE := $(word $(words $(sbl_j7200_CORELIST)), $(sbl_j7200_CORELIST))
85 am64x_smp_CORELIST := mcu1_0 mcu2_0 mpu1_0
86 sbl_am64x_CORELIST := mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mpu1_0 mpu1_1
87 am64x_LASTCORE := $(word $(words $(sbl_am64x_CORELIST)), $(sbl_am64x_CORELIST))
89 sbl_tpr12_CORELIST := mcu1_0 mcu1_1 c66xdsp_1
90 tpr12_LASTCORE := $(word $(words $(sbl_tpr12_CORELIST)), $(sbl_tpr12_CORELIST))
93 sbl_DISABLE_PARALLEL_MAKE = yes
94 ############################
95 # sbl package
96 # List of components included under sbl
97 # The components included here are built and will be part of sbl
98 ############################
100 ifeq ($(SOC), am64x)
101 sbl_LIB_LIST = sbl_lib_ospi_nondma sbl_lib_cust sbl_lib_mmcsd sbl_lib_uart
102 else
103 ifeq ($(SOC), j7200)
104 sbl_LIB_LIST = sbl_lib_mmcsd sbl_lib_mmcsd_hlos sbl_lib_ospi_nondma sbl_lib_ospi_nondma_hlos sbl_lib_uart sbl_lib_cust
105 else
106 ifeq ($(SOC), tpr12)
107 sbl_LIB_LIST = sbl_lib_uart
108 sbl_LIB_LIST += sbl_lib_qspi sbl_lib_qspi_nondma
109 else
110 sbl_LIB_LIST = sbl_lib_mmcsd sbl_lib_ospi sbl_lib_uart sbl_lib_hyperflash sbl_lib_cust
111 sbl_LIB_LIST += sbl_lib_mmcsd_hlos sbl_lib_ospi_hlos sbl_lib_hyperflash_hlos
112 sbl_LIB_LIST += sbl_lib_ospi_nondma sbl_lib_ospi_nondma_hlos
113 endif
114 endif
115 endif
117 ############################
118 # sbl example
119 # List of examples under sbl (+= is used at each example definition)
120 # All the tests mentioned in list are built when test target is called
121 # List below all examples for allowed values
122 ############################
123 ifeq ($(SOC),$(filter $(SOC), am64x))
124 sbl_EXAMPLE_LIST = sbl_ospi_img sbl_mmcsd_img sbl_uart_img
125 else
126 ifeq ($(SOC), j7200)
127 sbl_EXAMPLE_LIST = sbl_mmcsd_img sbl_mmcsd_img_hlos sbl_ospi_img sbl_ospi_img_hlos sbl_uart_img
128 else
129 ifeq ($(SOC), tpr12)
130 sbl_EXAMPLE_LIST = sbl_uart_img sbl_qspi_img
131 else
132 sbl_EXAMPLE_LIST = sbl_uart_img
133 sbl_EXAMPLE_LIST += sbl_mmcsd_img sbl_mmcsd_img_hlos sbl_ospi_img sbl_ospi_img_hlos sbl_hyperflash_img sbl_hyperflash_img_hlos
134 sbl_EXAMPLE_LIST += sbl_mmcsd_img_hs sbl_ospi_img_hs sbl_hyperflash_img_hs sbl_uart_img_hs
135 sbl_EXAMPLE_LIST += sbl_mmcsd_img_hlos_hs sbl_ospi_img_hlos_hs sbl_hyperflash_img_hlos_hs
136 endif
137 endif
138 endif
141 #
142 # SBL Modules
143 #
145 # SBL MMCSD LIB
146 sbl_lib_mmcsd_COMP_LIST = sbl_lib_mmcsd
147 sbl_lib_mmcsd_RELPATH = ti/boot/sbl
148 export sbl_lib_mmcsd_OBJPATH = ti/boot/sbl/mmcsd
149 sbl_lib_mmcsd_LIBNAME = sbl_lib_mmcsd
150 sbl_lib_mmcsd_PATH = $(PDK_SBL_COMP_PATH)
151 sbl_lib_mmcsd_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/mmcsd
152 sbl_lib_mmcsd_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=mmcsd SBL_USE_DMA=yes
153 export sbl_lib_mmcsd_MAKEFILE
154 export sbl_lib_mmcsd_LIBNAME
155 export sbl_lib_mmcsd_LIBPATH
156 sbl_lib_mmcsd_BOARD_DEPENDENCY = yes
157 sbl_lib_mmcsd_SOC_DEPENDENCY = yes
158 sbl_lib_mmcsd_CORE_DEPENDENCY = no
159 export sbl_lib_mmcsd_COMP_LIST
160 export sbl_lib_mmcsd_BOARD_DEPENDENCY
161 export sbl_lib_mmcsd_CORE_DEPENDENCY
162 sbl_lib_mmcsd_PKG_LIST = sbl_lib_mmcsd
163 sbl_lib_mmcsd_INCLUDE = $(sbl_lib_mmcsd_PATH)
164 sbl_lib_mmcsd_SOCLIST = $(sbl_SOCLIST)
165 sbl_lib_mmcsd_BOARDLIST = $(sbl_BOARDLIST)
166 export sbl_lib_mmcsd_SOCLIST
167 export sbl_lib_mmcsd_BOARDLIST
168 sbl_lib_mmcsd_$(SOC)_CORELIST = mcu1_0
169 export sbl_lib_mmcsd_$(SOC)_CORELIST
171 # SBL MMCSD HLOS LIB
172 sbl_lib_mmcsd_hlos_COMP_LIST = sbl_lib_mmcsd_hlos
173 sbl_lib_mmcsd_hlos_RELPATH = ti/boot/sbl
174 export sbl_lib_mmcsd_hlos_OBJPATH = ti/boot/sbl/mmcsd_hlos
175 sbl_lib_mmcsd_hlos_LIBNAME = sbl_lib_mmcsd_hlos
176 sbl_lib_mmcsd_hlos_PATH = $(PDK_SBL_COMP_PATH)
177 sbl_lib_mmcsd_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/mmcsd_hlos
178 sbl_lib_mmcsd_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=mmcsd HLOS_BOOT=yes SBL_USE_DMA=yes
179 export sbl_lib_mmcsd_hlos_MAKEFILE
180 export sbl_lib_mmcsd_hlos_LIBNAME
181 export sbl_lib_mmcsd_hlos_LIBPATH
182 sbl_lib_mmcsd_hlos_BOARD_DEPENDENCY = yes
183 sbl_lib_mmcsd_hlos_SOC_DEPENDENCY = yes
184 sbl_lib_mmcsd_hlos_CORE_DEPENDENCY = no
185 export sbl_lib_mmcsd_hlos_COMP_LIST
186 export sbl_lib_mmcsd_hlos_BOARD_DEPENDENCY
187 export sbl_lib_mmcsd_hlos_CORE_DEPENDENCY
188 sbl_lib_mmcsd_hlos_PKG_LIST = sbl_lib_mmcsd_hlos
189 sbl_lib_mmcsd_hlos_INCLUDE = $(sbl_lib_mmcsd_hlos_PATH)
190 sbl_lib_mmcsd_hlos_SOCLIST = $(sbl_SOCLIST)
191 sbl_lib_mmcsd_hlos_BOARDLIST = $(sbl_BOARDLIST)
192 export sbl_lib_mmcsd_hlos_SOCLIST
193 export sbl_lib_mmcsd_hlos_BOARDLIST
194 sbl_lib_mmcsd_hlos_$(SOC)_CORELIST = mcu1_0
195 export sbl_lib_mmcsd_hlos_$(SOC)_CORELIST
197 # SBL OSPI LIB
198 sbl_lib_ospi_COMP_LIST = sbl_lib_ospi
199 sbl_lib_ospi_RELPATH = ti/boot/sbl
200 export sbl_lib_ospi_OBJPATH = ti/boot/sbl/ospi
201 sbl_lib_ospi_LIBNAME = sbl_lib_ospi
202 sbl_lib_ospi_PATH = $(PDK_SBL_COMP_PATH)
203 sbl_lib_ospi_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi
204 sbl_lib_ospi_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi SBL_USE_DMA=yes
205 export sbl_lib_ospi_MAKEFILE
206 export sbl_lib_ospi_LIBNAME
207 export sbl_lib_ospi_LIBPATH
208 sbl_lib_ospi_BOARD_DEPENDENCY = yes
209 sbl_lib_ospi_SOC_DEPENDENCY = yes
210 sbl_lib_ospi_CORE_DEPENDENCY = no
211 export sbl_lib_ospi_COMP_LIST
212 export sbl_lib_ospi_BOARD_DEPENDENCY
213 export sbl_lib_ospi_CORE_DEPENDENCY
214 sbl_lib_ospi_PKG_LIST = sbl_lib_ospi
215 sbl_lib_ospi_INCLUDE = $(sbl_lib_ospi_PATH)
216 sbl_lib_ospi_SOCLIST = $(sbl_SOCLIST)
217 sbl_lib_ospi_BOARDLIST = $(sbl_BOARDLIST)
218 export sbl_lib_ospi_SOCLIST
219 export sbl_lib_ospi_BOARDLIST
220 sbl_lib_ospi_$(SOC)_CORELIST = mcu1_0
221 export sbl_lib_ospi_$(SOC)_CORELIST
223 # SBL OSPI HLOS LIB
224 sbl_lib_ospi_hlos_COMP_LIST = sbl_lib_ospi_hlos
225 sbl_lib_ospi_hlos_RELPATH = ti/boot/sbl
226 export sbl_lib_ospi_hlos_OBJPATH = ti/boot/sbl/ospi_hlos
227 sbl_lib_ospi_hlos_LIBNAME = sbl_lib_ospi_hlos
228 sbl_lib_ospi_hlos_PATH = $(PDK_SBL_COMP_PATH)
229 sbl_lib_ospi_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi_hlos
230 sbl_lib_ospi_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=yes
231 export sbl_lib_ospi_hlos_MAKEFILE
232 export sbl_lib_ospi_hlos_LIBNAME
233 export sbl_lib_ospi_hlos_LIBPATH
234 sbl_lib_ospi_hlos_BOARD_DEPENDENCY = yes
235 sbl_lib_ospi_hlos_SOC_DEPENDENCY = yes
236 sbl_lib_ospi_hlos_CORE_DEPENDENCY = no
237 export sbl_lib_ospi_hlos_COMP_LIST
238 export sbl_lib_ospi_hlos_BOARD_DEPENDENCY
239 export sbl_lib_ospi_hlos_CORE_DEPENDENCY
240 sbl_lib_ospi_hlos_PKG_LIST = sbl_lib_ospi_hlos
241 sbl_lib_ospi_hlos_INCLUDE = $(sbl_lib_ospi_hlos_PATH)
242 sbl_lib_ospi_hlos_SOCLIST = $(sbl_SOCLIST)
243 sbl_lib_ospi_hlos_BOARDLIST = $(sbl_BOARDLIST)
244 export sbl_lib_ospi_hlos_SOCLIST
245 export sbl_lib_ospi_hlos_BOARDLIST
246 sbl_lib_ospi_hlos_$(SOC)_CORELIST = mcu1_0
247 export sbl_lib_ospi_hlos_$(SOC)_CORELIST
249 # SBL OSPI LIB with NON-DMA - Needed for HS SBL, etc.
250 export sbl_lib_ospi_nondma_COMP_LIST = sbl_lib_ospi_nondma
251 sbl_lib_ospi_nondma_RELPATH = ti/boot/sbl
252 export sbl_lib_ospi_nondma_OBJPATH = ti/boot/sbl/ospi_nondma
253 sbl_lib_ospi_nondma_PATH = $(PDK_SBL_COMP_PATH)
254 export sbl_lib_ospi_nondma_LIBNAME = sbl_lib_ospi_nondma
255 export sbl_lib_ospi_nondma_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi
256 export sbl_lib_ospi_nondma_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi SBL_USE_DMA=no
257 export sbl_lib_ospi_nondma_BOARD_DEPENDENCY = yes
258 export sbl_lib_ospi_nondma_SOC_DEPENDENCY = yes
259 export sbl_lib_ospi_nondma_CORE_DEPENDENCY = no
260 sbl_lib_ospi_nondma_PKG_LIST = sbl_lib_ospi_nondma
261 sbl_lib_ospi_nondma_INCLUDE = $(sbl_lib_ospi_nondma_PATH)
262 export sbl_lib_ospi_nondma_SOCLIST = $(sbl_SOCLIST)
263 export sbl_lib_ospi_nondma_BOARDLIST = $(sbl_BOARDLIST)
264 export sbl_lib_ospi_nondma_$(SOC)_CORELIST = mcu1_0
266 # SBL OSPI HLOS LIB with NON-DMA - Needed for HS SBL, etc.
267 export sbl_lib_ospi_nondma_hlos_COMP_LIST = sbl_lib_ospi_nondma_hlos
268 sbl_lib_ospi_nondma_hlos_RELPATH = ti/boot/sbl
269 export sbl_lib_ospi_nondma_hlos_OBJPATH = ti/boot/sbl/ospi_nondma_hlos
270 sbl_lib_ospi_nondma_hlos_PATH = $(PDK_SBL_COMP_PATH)
271 export sbl_lib_ospi_nondma_hlos_LIBNAME = sbl_lib_ospi_nondma_hlos
272 export sbl_lib_ospi_nondma_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/ospi_hlos
273 export sbl_lib_ospi_nondma_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=no
274 export sbl_lib_ospi_nondma_hlos_BOARD_DEPENDENCY = yes
275 export sbl_lib_ospi_nondma_hlos_SOC_DEPENDENCY = yes
276 export sbl_lib_ospi_nondma_hlos_CORE_DEPENDENCY = no
277 sbl_lib_ospi_nondma_hlos_PKG_LIST = sbl_lib_ospi_nondma_hlos
278 sbl_lib_ospi_nondma_hlos_INCLUDE = $(sbl_lib_ospi_nondma_hlos_PATH)
279 export sbl_lib_ospi_nondma_hlos_SOCLIST = $(sbl_SOCLIST)
280 export sbl_lib_ospi_nondma_hlos_BOARDLIST = $(sbl_BOARDLIST)
281 export sbl_lib_ospi_nondma_hlos_$(SOC)_CORELIST = mcu1_0
283 # SBL HYPERFLASH LIB
284 sbl_lib_hyperflash_COMP_LIST = sbl_lib_hyperflash
285 sbl_lib_hyperflash_RELPATH = ti/boot/sbl
286 export sbl_lib_hyperflash_OBJPATH = ti/boot/sbl/hyperflash
287 sbl_lib_hyperflash_LIBNAME = sbl_lib_hyperflash
288 sbl_lib_hyperflash_PATH = $(PDK_SBL_COMP_PATH)
289 sbl_lib_hyperflash_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/hyperflash
290 sbl_lib_hyperflash_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=hyperflash SBL_USE_DMA=yes
291 export sbl_lib_hyperflash_MAKEFILE
292 export sbl_lib_hyperflash_LIBNAME
293 export sbl_lib_hyperflash_LIBPATH
294 sbl_lib_hyperflash_BOARD_DEPENDENCY = yes
295 sbl_lib_hyperflash_SOC_DEPENDENCY = yes
296 sbl_lib_hyperflash_CORE_DEPENDENCY = no
297 export sbl_lib_hyperflash_COMP_LIST
298 export sbl_lib_hyperflash_BOARD_DEPENDENCY
299 export sbl_lib_hyperflash_CORE_DEPENDENCY
300 sbl_lib_hyperflash_PKG_LIST = sbl_lib_hyperflash
301 sbl_lib_hyperflash_INCLUDE = $(sbl_lib_hyperflash_PATH)
302 sbl_lib_hyperflash_SOCLIST = j721e
303 sbl_lib_hyperflash_BOARDLIST = j721e_evm
304 export sbl_lib_hyperflash_SOCLIST
305 export sbl_lib_hyperflash_BOARDLIST
306 sbl_lib_hyperflash_$(SOC)_CORELIST = mcu1_0
307 export sbl_lib_hyperflash_$(SOC)_CORELIST
309 # SBL HYPERFLASH HLOS LIB
310 sbl_lib_hyperflash_hlos_COMP_LIST = sbl_lib_hyperflash_hlos
311 sbl_lib_hyperflash_hlos_RELPATH = ti/boot/sbl
312 export sbl_lib_hyperflash_hlos_OBJPATH = ti/boot/sbl/hyperflash_hlos
313 sbl_lib_hyperflash_hlos_LIBNAME = sbl_lib_hyperflash_hlos
314 sbl_lib_hyperflash_hlos_PATH = $(PDK_SBL_COMP_PATH)
315 sbl_lib_hyperflash_hlos_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/hyperflash_hlos
316 sbl_lib_hyperflash_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=hyperflash HLOS_BOOT=yes SBL_USE_DMA=yes
317 export sbl_lib_hyperflash_hlos_MAKEFILE
318 export sbl_lib_hyperflash_hlos_LIBNAME
319 export sbl_lib_hyperflash_hlos_LIBPATH
320 sbl_lib_hyperflash_hlos_BOARD_DEPENDENCY = yes
321 sbl_lib_hyperflash_hlos_SOC_DEPENDENCY = yes
322 sbl_lib_hyperflash_hlos_CORE_DEPENDENCY = no
323 export sbl_lib_hyperflash_hlos_COMP_LIST
324 export sbl_lib_hyperflash_hlos_BOARD_DEPENDENCY
325 export sbl_lib_hyperflash_hlos_CORE_DEPENDENCY
326 sbl_lib_hyperflash_hlos_PKG_LIST = sbl_lib_hyperflash_hlos
327 sbl_lib_hyperflash_hlos_INCLUDE = $(sbl_lib_hyperflash_hlos_PATH)
328 sbl_lib_hyperflash_hlos_SOCLIST = j721e
329 sbl_lib_hyperflash_hlos_BOARDLIST = j721e_evm
330 export sbl_lib_hyperflash_hlos_SOCLIST
331 export sbl_lib_hyperflash_hlos_BOARDLIST
332 sbl_lib_hyperflash_hlos_$(SOC)_CORELIST = mcu1_0
333 export sbl_lib_hyperflash_hlos_$(SOC)_CORELIST
335 # SBL UART LIB
336 sbl_lib_uart_COMP_LIST = sbl_lib_uart
337 sbl_lib_uart_RELPATH = ti/boot/sbl
338 export sbl_lib_uart_OBJPATH = ti/boot/sbl/uart
339 sbl_lib_uart_LIBNAME = sbl_lib_uart
340 sbl_lib_uart_PATH = $(PDK_SBL_COMP_PATH)
341 sbl_lib_uart_LIBNAME = sbl_lib_uart
342 sbl_lib_uart_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/uart
343 sbl_lib_uart_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=uart SBL_USE_DMA=yes
344 export sbl_lib_uart_MAKEFILE
345 export sbl_lib_uart_LIBNAME
346 export sbl_lib_uart_LIBPATH
347 sbl_lib_uart_BOARD_DEPENDENCY = yes
348 sbl_lib_uart_SOC_DEPENDENCY = yes
349 sbl_lib_uart_CORE_DEPENDENCY = no
350 export sbl_lib_uart_COMP_LIST
351 export sbl_lib_uart_BOARD_DEPENDENCY
352 export sbl_lib_uart_CORE_DEPENDENCY
353 sbl_lib_uart_PKG_LIST = sbl_lib_uart
354 sbl_lib_uart_INCLUDE = $(sbl_lib_uart_PATH)
355 sbl_lib_uart_SOCLIST = $(sbl_SOCLIST)
356 sbl_lib_uart_BOARDLIST = $(sbl_BOARDLIST)
357 export sbl_lib_uart_SOCLIST
358 export sbl_lib_uart_BOARDLIST
359 sbl_lib_uart_$(SOC)_CORELIST = mcu1_0
360 export sbl_lib_uart_$(SOC)_CORELIST
362 # SBL QSPI LIB
363 sbl_lib_qspi_COMP_LIST = sbl_lib_qspi
364 sbl_lib_qspi_RELPATH = ti/boot/sbl
365 export sbl_lib_qspi_OBJPATH = ti/boot/sbl/qspi
366 sbl_lib_qspi_LIBNAME = sbl_lib_qspi
367 sbl_lib_qspi_PATH = $(PDK_SBL_COMP_PATH)
368 sbl_lib_qspi_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/qspi
369 sbl_lib_qspi_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=qspi SBL_USE_DMA=yes
370 export sbl_lib_qspi_MAKEFILE
371 export sbl_lib_qspi_LIBNAME
372 export sbl_lib_qspi_LIBPATH
373 sbl_lib_qspi_BOARD_DEPENDENCY = yes
374 sbl_lib_qspi_SOC_DEPENDENCY = yes
375 sbl_lib_qspi_CORE_DEPENDENCY = no
376 export sbl_lib_qspi_COMP_LIST
377 export sbl_lib_qspi_BOARD_DEPENDENCY
378 export sbl_lib_qspi_CORE_DEPENDENCY
379 sbl_lib_qspi_PKG_LIST = sbl_lib_qspi
380 sbl_lib_qspi_INCLUDE = $(sbl_lib_qspi_PATH)
381 sbl_lib_qspi_SOCLIST = tpr12
382 sbl_lib_qspi_BOARDLIST = tpr12_evm
383 export sbl_lib_qspi_SOCLIST
384 export sbl_lib_qspi_BOARDLIST
385 sbl_lib_qspi_$(SOC)_CORELIST = mcu1_0
386 export sbl_lib_qspi_$(SOC)_CORELIST
388 # SBL QSPI LIB with NON-DMA - Needed for HS SBL, etc.
389 export sbl_lib_qspi_nondma_COMP_LIST = sbl_lib_qspi_nondma
390 sbl_lib_qspi_nondma_RELPATH = ti/boot/sbl
391 export sbl_lib_qspi_nondma_OBJPATH = ti/boot/sbl/qspi_nondma
392 sbl_lib_qspi_nondma_PATH = $(PDK_SBL_COMP_PATH)
393 export sbl_lib_qspi_nondma_LIBNAME = sbl_lib_qspi_nondma
394 export sbl_lib_qspi_nondma_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/qspi
395 export sbl_lib_qspi_nondma_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=qspi SBL_USE_DMA=no
396 export sbl_lib_qspi_nondma_BOARD_DEPENDENCY = yes
397 export sbl_lib_qspi_nondma_SOC_DEPENDENCY = yes
398 export sbl_lib_qspi_nondma_CORE_DEPENDENCY = no
399 sbl_lib_qspi_nondma_PKG_LIST = sbl_lib_qspi_nondma
400 sbl_lib_qspi_nondma_INCLUDE = $(sbl_lib_qspi_nondma_PATH)
401 export sbl_lib_qspi_nondma_SOCLIST = tpr12
402 export sbl_lib_qspi_nondma_BOARDLIST = tpr12_evm
403 export sbl_lib_qspi_nondma_$(SOC)_CORELIST = mcu1_0
405 #
406 # SBL Examples
407 #
408 # SBL MMCSD Image
409 sbl_mmcsd_img_COMP_LIST = sbl_mmcsd_img
410 sbl_mmcsd_img_RELPATH = ti/boot/sbl/board/k3
411 sbl_mmcsd_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/mmcsd/bin
412 sbl_mmcsd_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
413 sbl_mmcsd_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd SBL_USE_DMA=yes BUILD_HS=no
414 export sbl_mmcsd_img_MAKEFILE
415 export sbl_mmcsd_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
416 sbl_mmcsd_img_BOARD_DEPENDENCY = yes
417 sbl_mmcsd_img_SOC_DEPENDENCY = yes
418 sbl_mmcsd_img_CORE_DEPENDENCY = no
419 export sbl_mmcsd_img_COMP_LIST
420 export sbl_mmcsd_img_BOARD_DEPENDENCY
421 export sbl_mmcsd_img_SOC_DEPENDENCY
422 export sbl_mmcsd_img_CORE_DEPENDENCY
423 sbl_mmcsd_img_PKG_LIST = sbl
424 sbl_mmcsd_img_INCLUDE = $(sbl_mmcsd_img_PATH)
425 sbl_mmcsd_img_BOARDLIST = $(sbl_BOARDLIST)
426 export sbl_mmcsd_img_BOARDLIST
427 sbl_mmcsd_img_$(SOC)_CORELIST = mcu1_0
428 export sbl_mmcsd_img_$(SOC)_CORELIST
429 sbl_mmcsd_img_SBL_IMAGEGEN = yes
430 export sbl_mmcsd_img_SBL_IMAGEGEN
432 # SBL MMCSD "HLOS Boot" Image
433 sbl_mmcsd_img_hlos_COMP_LIST = sbl_mmcsd_img_hlos
434 sbl_mmcsd_img_hlos_RELPATH = ti/boot/sbl/board/k3
435 sbl_mmcsd_img_hlos_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/mmcsd/bin
436 sbl_mmcsd_img_hlos_PATH = $(PDK_SBL_COMP_PATH)/board/k3
437 sbl_mmcsd_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=no
438 export sbl_mmcsd_img_hlos_MAKEFILE
439 export sbl_mmcsd_img_hlos_SBL_CERT_KEY=$(SBL_CERT_KEY)
440 sbl_mmcsd_img_hlos_BOARD_DEPENDENCY = yes
441 sbl_mmcsd_img_hlos_SOC_DEPENDENCY = yes
442 sbl_mmcsd_img_hlos_CORE_DEPENDENCY = no
443 export sbl_mmcsd_img_hlos_COMP_LIST
444 export sbl_mmcsd_img_hlos_BOARD_DEPENDENCY
445 export sbl_mmcsd_img_hlos_SOC_DEPENDENCY
446 export sbl_mmcsd_img_hlos_CORE_DEPENDENCY
447 sbl_mmcsd_img_hlos_PKG_LIST = sbl
448 sbl_mmcsd_img_hlos_INCLUDE = $(sbl_mmcsd_img_hlos_PATH)
449 sbl_mmcsd_img_hlos_BOARDLIST = $(sbl_BOARDLIST)
450 export sbl_mmcsd_img_hlos_BOARDLIST
451 sbl_mmcsd_img_hlos_$(SOC)_CORELIST = mcu1_0
452 export sbl_mmcsd_img_hlos_$(SOC)_CORELIST
453 sbl_mmcsd_img_hlos_SBL_IMAGEGEN = yes
454 export sbl_mmcsd_img_hlos_SBL_IMAGEGEN
456 # SBL MMCSD Image - For HS build
457 export sbl_mmcsd_img_hs_COMP_LIST = sbl_mmcsd_img_hs
458 sbl_mmcsd_img_hs_RELPATH = ti/boot/sbl/board/k3
459 sbl_mmcsd_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/mmcsd/bin
460 #Note: The below variable is purposefully set to build folder - different than
461 #non-hs app.
462 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
463 #creates lto_$APPNAME optimization file in the directory in which -C is called
464 #Because of this multiple lto_ files with same name can be created if app name
465 #and app path are same
466 sbl_mmcsd_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
467 export sbl_mmcsd_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd SBL_USE_DMA=yes BUILD_HS=yes
468 export sbl_mmcsd_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
469 export sbl_mmcsd_img_hs_BOARD_DEPENDENCY = yes
470 export sbl_mmcsd_img_hs_SOC_DEPENDENCY = yes
471 export sbl_mmcsd_img_hs_CORE_DEPENDENCY = no
472 sbl_mmcsd_img_hs_PKG_LIST = sbl
473 sbl_mmcsd_img_hs_INCLUDE = $(sbl_mmcsd_img_hs_PATH)
474 export sbl_mmcsd_img_hs_BOARDLIST = $(sbl_BOARDLIST)
475 export sbl_mmcsd_img_hs_$(SOC)_CORELIST = mcu1_0
476 export sbl_mmcsd_img_hs_SBL_IMAGEGEN = yes
478 # SBL MMCSD "HLOS Boot" Image - For HS build
479 export sbl_mmcsd_img_hlos_hs_COMP_LIST = sbl_mmcsd_img_hlos_hs
480 sbl_mmcsd_img_hlos_hs_RELPATH = ti/boot/sbl/board/k3
481 sbl_mmcsd_img_hlos_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/mmcsd/bin
482 #Note: The below variable is purposefully set to build folder - different than
483 #non-hs app.
484 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
485 #creates lto_$APPNAME optimization file in the directory in which -C is called
486 #Because of this multiple lto_ files with same name can be created if app name
487 #and app path are same
488 sbl_mmcsd_img_hlos_hs_PATH = $(PDK_SBL_COMP_PATH)/build
489 export sbl_mmcsd_img_hlos_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=mmcsd HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=yes
490 export sbl_mmcsd_img_hlos_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
491 export sbl_mmcsd_img_hlos_hs_BOARD_DEPENDENCY = yes
492 export sbl_mmcsd_img_hlos_hs_SOC_DEPENDENCY = yes
493 export sbl_mmcsd_img_hlos_hs_CORE_DEPENDENCY = no
494 sbl_mmcsd_img_hlos_hs_PKG_LIST = sbl
495 sbl_mmcsd_img_hlos_hs_INCLUDE = $(sbl_mmcsd_img_hlos_hs_PATH)
496 export sbl_mmcsd_img_hlos_hs_BOARDLIST = $(sbl_BOARDLIST)
497 export sbl_mmcsd_img_hlos_hs_$(SOC)_CORELIST = mcu1_0
498 export sbl_mmcsd_img_hlos_hs_SBL_IMAGEGEN = yes
501 # SBL OSPI Image
502 sbl_ospi_img_COMP_LIST = sbl_ospi_img
503 sbl_ospi_img_RELPATH = ti/boot/sbl/board/k3
504 sbl_ospi_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/ospi/bin
505 sbl_ospi_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
506 ifeq ($(SOC),$(filter $(SOC), am64x j7200))
507 sbl_ospi_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi SBL_USE_DMA=no BUILD_HS=no
508 else
509 sbl_ospi_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi SBL_USE_DMA=yes BUILD_HS=no
510 endif
511 export sbl_ospi_img_MAKEFILE
512 export sbl_ospi_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
513 sbl_ospi_img_BOARD_DEPENDENCY = yes
514 sbl_ospi_img_SOC_DEPENDENCY = yes
515 sbl_ospi_img_CORE_DEPENDENCY = no
516 export sbl_ospi_img_COMP_LIST
517 export sbl_ospi_img_BOARD_DEPENDENCY
518 export sbl_ospi_img_SOC_DEPENDENCY
519 export sbl_ospi_img_CORE_DEPENDENCY
520 sbl_ospi_img_PKG_LIST = sbl
521 sbl_ospi_img_INCLUDE = $(sbl_ospi_img_PATH)
522 sbl_ospi_img_BOARDLIST = $(sbl_BOARDLIST)
523 export sbl_ospi_img_BOARDLIST
524 sbl_ospi_img_$(SOC)_CORELIST = mcu1_0
525 export sbl_ospi_img_$(SOC)_CORELIST
526 sbl_ospi_img_SBL_IMAGEGEN = yes
527 export sbl_ospi_img_SBL_IMAGEGEN
529 # SBL OSPI "HLOS Boot" Image
530 sbl_ospi_img_hlos_COMP_LIST = sbl_ospi_img_hlos
531 sbl_ospi_img_hlos_RELPATH = ti/boot/sbl/board/k3
532 sbl_ospi_img_hlos_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/ospi/bin
533 sbl_ospi_img_hlos_PATH = $(PDK_SBL_COMP_PATH)/board/k3
534 ifeq ($(SOC),$(filter $(SOC), am64x j7200))
535 sbl_ospi_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=no BUILD_HS=no
536 else
537 sbl_ospi_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=no
538 endif
539 export sbl_ospi_img_hlos_MAKEFILE
540 export sbl_ospi_img_hlos_SBL_CERT_KEY=$(SBL_CERT_KEY)
541 sbl_ospi_img_hlos_BOARD_DEPENDENCY = yes
542 sbl_ospi_img_hlos_SOC_DEPENDENCY = yes
543 sbl_ospi_img_hlos_CORE_DEPENDENCY = no
544 export sbl_ospi_img_hlos_COMP_LIST
545 export sbl_ospi_img_hlos_BOARD_DEPENDENCY
546 export sbl_ospi_img_hlos_SOC_DEPENDENCY
547 export sbl_ospi_img_hlos_CORE_DEPENDENCY
548 sbl_ospi_img_hlos_PKG_LIST = sbl
549 sbl_ospi_img_hlos_INCLUDE = $(sbl_ospi_img_hlos_PATH)
550 sbl_ospi_img_hlos_BOARDLIST = $(sbl_BOARDLIST)
551 export sbl_ospi_img_hlos_BOARDLIST
552 sbl_ospi_img_hlos_$(SOC)_CORELIST = mcu1_0
553 export sbl_ospi_img_hlos_$(SOC)_CORELIST
554 sbl_ospi_img_hlos_SBL_IMAGEGEN = yes
555 export sbl_ospi_img_hlos_SBL_IMAGEGEN
557 # SBL OSPI Image - For HS build
558 export sbl_ospi_img_hs_COMP_LIST = sbl_ospi_img_hs
559 sbl_ospi_img_hs_RELPATH = ti/boot/sbl/board/k3
560 sbl_ospi_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/ospi/bin
561 #Note: The below variable is purposefully set to build folder - different than
562 #non-hs app.
563 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
564 #creates lto_$APPNAME optimization file in the directory in which -C is called
565 #Because of this multiple lto_ files with same name can be created if app name
566 #and app path are same
567 sbl_ospi_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
568 export sbl_ospi_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi SBL_USE_DMA=no BUILD_HS=yes
569 export sbl_ospi_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
570 export sbl_ospi_img_hs_BOARD_DEPENDENCY = yes
571 export sbl_ospi_img_hs_SOC_DEPENDENCY = yes
572 export sbl_ospi_img_hs_CORE_DEPENDENCY = no
573 sbl_ospi_img_hs_PKG_LIST = sbl
574 sbl_ospi_img_hs_INCLUDE = $(sbl_ospi_img_hs_PATH)
575 export sbl_ospi_img_hs_BOARDLIST = $(sbl_BOARDLIST)
576 export sbl_ospi_img_hs_$(SOC)_CORELIST = mcu1_0
577 export sbl_ospi_img_hs_SBL_IMAGEGEN = yes
579 # SBL OSPI "HLOS Boot" Image - For HS build
580 export sbl_ospi_img_hlos_hs_COMP_LIST = sbl_ospi_img_hlos_hs
581 sbl_ospi_img_hlos_hs_RELPATH = ti/boot/sbl/board/k3
582 sbl_ospi_img_hlos_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/ospi/bin
583 #Note: The below variable is purposefully set to build folder - different than
584 #non-hs app.
585 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
586 #creates lto_$APPNAME optimization file in the directory in which -C is called
587 #Because of this multiple lto_ files with same name can be created if app name
588 #and app path are same
589 sbl_ospi_img_hlos_hs_PATH = $(PDK_SBL_COMP_PATH)/build
590 export sbl_ospi_img_hlos_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=ospi HLOS_BOOT=yes SBL_USE_DMA=no BUILD_HS=yes
591 export sbl_ospi_img_hlos_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
592 export sbl_ospi_img_hlos_hs_BOARD_DEPENDENCY = yes
593 export sbl_ospi_img_hlos_hs_SOC_DEPENDENCY = yes
594 export sbl_ospi_img_hlos_hs_CORE_DEPENDENCY = no
595 sbl_ospi_img_hlos_hs_PKG_LIST = sbl
596 sbl_ospi_img_hlos_hs_INCLUDE = $(sbl_ospi_img_hlos_hs_PATH)
597 export sbl_ospi_img_hlos_hs_BOARDLIST = $(sbl_BOARDLIST)
598 export sbl_ospi_img_hlos_hs_$(SOC)_CORELIST = mcu1_0
599 export sbl_ospi_img_hlos_hs_SBL_IMAGEGEN = yes
601 # SBL HYPERFLASH Image
602 sbl_hyperflash_img_COMP_LIST = sbl_hyperflash_img
603 sbl_hyperflash_img_RELPATH = ti/boot/sbl/board/k3
604 sbl_hyperflash_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/hyperflash/bin
605 sbl_hyperflash_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
606 sbl_hyperflash_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash SBL_USE_DMA=yes BUILD_HS=no
607 export sbl_hyperflash_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
608 export sbl_hyperflash_img_MAKEFILE
609 sbl_hyperflash_img_BOARD_DEPENDENCY = yes
610 sbl_hyperflash_img_SOC_DEPENDENCY = yes
611 sbl_hyperflash_img_CORE_DEPENDENCY = no
612 export sbl_hyperflash_img_COMP_LIST
613 export sbl_hyperflash_img_BOARD_DEPENDENCY
614 export sbl_hyperflash_img_SOC_DEPENDENCY
615 export sbl_hyperflash_img_CORE_DEPENDENCY
616 sbl_hyperflash_img_PKG_LIST = sbl
617 sbl_hyperflash_img_INCLUDE = $(sbl_hyperflash_img_PATH)
618 sbl_hyperflash_img_BOARDLIST = j721e_evm
619 export sbl_hyperflash_img_BOARDLIST
620 sbl_hyperflash_img_$(SOC)_CORELIST = mcu1_0
621 export sbl_hyperflash_img_$(SOC)_CORELIST
622 sbl_hyperflash_img_SBL_IMAGEGEN = yes
623 export sbl_hyperflash_img_SBL_IMAGEGEN
625 # SBL HYPERFLASH "HLOS Boot" Image
626 sbl_hyperflash_img_hlos_COMP_LIST = sbl_hyperflash_img_hlos
627 sbl_hyperflash_img_hlos_RELPATH = ti/boot/sbl/board/k3
628 sbl_hyperflash_img_hlos_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/hyperflash/bin
629 sbl_hyperflash_img_hlos_PATH = $(PDK_SBL_COMP_PATH)/board/k3
630 sbl_hyperflash_img_hlos_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=no
631 export sbl_hyperflash_img_hlos_SBL_CERT_KEY=$(SBL_CERT_KEY)
632 export sbl_hyperflash_img_hlos_MAKEFILE
633 sbl_hyperflash_img_hlos_BOARD_DEPENDENCY = yes
634 sbl_hyperflash_img_hlos_SOC_DEPENDENCY = yes
635 sbl_hyperflash_img_hlos_CORE_DEPENDENCY = no
636 export sbl_hyperflash_img_hlos_COMP_LIST
637 export sbl_hyperflash_img_hlos_BOARD_DEPENDENCY
638 export sbl_hyperflash_img_hlos_SOC_DEPENDENCY
639 export sbl_hyperflash_img_hlos_CORE_DEPENDENCY
640 sbl_hyperflash_img_hlos_PKG_LIST = sbl
641 sbl_hyperflash_img_hlos_INCLUDE = $(sbl_hyperflash_img_hlos_PATH)
642 sbl_hyperflash_img_hlos_BOARDLIST = j721e_evm
643 export sbl_hyperflash_img_hlos_BOARDLIST
644 sbl_hyperflash_img_hlos_$(SOC)_CORELIST = mcu1_0
645 export sbl_hyperflash_img_hlos_$(SOC)_CORELIST
646 sbl_hyperflash_img_hlos_SBL_IMAGEGEN = yes
647 export sbl_hyperflash_img_hlos_SBL_IMAGEGEN
649 # SBL HYPERFLASH Image - For HS build
650 export sbl_hyperflash_img_hs_COMP_LIST = sbl_hyperflash_img_hs
651 sbl_hyperflash_img_hs_RELPATH = ti/boot/sbl/board/k3
652 sbl_hyperflash_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/hyperflash/bin
653 #Note: The below variable is purposefully set to build folder - different than
654 #non-hs app.
655 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
656 #creates lto_$APPNAME optimization file in the directory in which -C is called
657 #Because of this multiple lto_ files with same name can be created if app name
658 #and app path are same
659 sbl_hyperflash_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
660 export sbl_hyperflash_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash SBL_USE_DMA=yes BUILD_HS=yes
661 export sbl_hyperflash_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
662 export sbl_hyperflash_img_hs_BOARD_DEPENDENCY = yes
663 export sbl_hyperflash_img_SOC_DEPENDENCY = yes
664 export sbl_hyperflash_img_hs_CORE_DEPENDENCY = no
665 sbl_hyperflash_img_hs_PKG_LIST = sbl
666 sbl_hyperflash_img_hs_INCLUDE = $(sbl_hyperflash_img_hs_PATH)
667 export sbl_hyperflash_img_hs_BOARDLIST = j721e_evm
668 export sbl_hyperflash_img_hs_$(SOC)_CORELIST = mcu1_0
669 export sbl_hyperflash_img_hs_SBL_IMAGEGEN = yes
671 # SBL HYPERFLASH "HLOS Boot" Image - For HS build
672 export sbl_hyperflash_img_hlos_hs_COMP_LIST = sbl_hyperflash_img_hlos_hs
673 sbl_hyperflash_img_hlos_hs_RELPATH = ti/boot/sbl/board/k3
674 sbl_hyperflash_img_hlos_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/hyperflash/bin
675 #Note: The below variable is purposefully set to build folder - different than
676 #non-hs app.
677 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
678 #creates lto_$APPNAME optimization file in the directory in which -C is called
679 #Because of this multiple lto_ files with same name can be created if app name
680 #and app path are same
681 sbl_hyperflash_img_hlos_hs_PATH = $(PDK_SBL_COMP_PATH)/build
682 export sbl_hyperflash_img_hlos_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=hyperflash HLOS_BOOT=yes SBL_USE_DMA=yes BUILD_HS=yes
683 export sbl_hyperflash_img_hlos_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
684 export sbl_hyperflash_img_hlos_hs_BOARD_DEPENDENCY = yes
685 export sbl_hyperflash_img_hlos_SOC_DEPENDENCY = yes
686 export sbl_hyperflash_img_hlos_hs_CORE_DEPENDENCY = no
687 sbl_hyperflash_img_hlos_hs_PKG_LIST = sbl
688 sbl_hyperflash_img_hlos_hs_INCLUDE = $(sbl_hyperflash_img_hlos_hs_PATH)
689 export sbl_hyperflash_img_hlos_hs_BOARDLIST = j721e_evm
690 export sbl_hyperflash_img_hlos_hs_$(SOC)_CORELIST = mcu1_0
691 export sbl_hyperflash_img_hlos_hs_SBL_IMAGEGEN = yes
693 # SBL UART Image
694 sbl_uart_img_COMP_LIST = sbl_uart_img
695 ifeq ($(SOC), tpr12)
696 sbl_uart_img_RELPATH = ti/boot/sbl/board/evmTPR12
697 else
698 sbl_uart_img_RELPATH = ti/boot/sbl/board/k3
699 endif
700 sbl_uart_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/uart/bin
701 ifeq ($(SOC), tpr12)
702 sbl_uart_img_PATH = $(PDK_SBL_COMP_PATH)/board/evmTPR12
703 else
704 sbl_uart_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
705 endif
706 sbl_uart_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=uart SBL_USE_DMA=yes BUILD_HS=no
707 export sbl_uart_img_MAKEFILE
708 export sbl_uart_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
709 sbl_uart_img_BOARD_DEPENDENCY = yes
710 sbl_uart_img_SOC_DEPENDENCY = yes
711 sbl_uart_img_CORE_DEPENDENCY = no
712 export sbl_uart_img_COMP_LIST
713 export sbl_uart_img_BOARD_DEPENDENCY
714 export sbl_uart_img_SOC_DEPENDENCY
715 export sbl_uart_img_CORE_DEPENDENCY
716 sbl_uart_img_PKG_LIST = sbl
717 sbl_uart_img_INCLUDE = $(sbl_uart_img_PATH)
718 sbl_uart_img_BOARDLIST = $(sbl_BOARDLIST)
719 export sbl_uart_img_BOARDLIST
720 sbl_uart_img_$(SOC)_CORELIST = mcu1_0
721 export sbl_uart_img_$(SOC)_CORELIST
722 sbl_uart_img_SBL_IMAGEGEN = yes
723 export sbl_uart_img_SBL_IMAGEGEN
725 # SBL UART Image - For HS build
726 export sbl_uart_img_hs_COMP_LIST = sbl_uart_img_hs
727 sbl_uart_img_hs_RELPATH = ti/boot/sbl/board/k3
728 sbl_uart_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/uart/bin
729 #Note: The below variable is purposefully set to build folder - different than
730 #non-hs app.
731 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
732 #creates lto_$APPNAME optimization file in the directory in which -C is called
733 #Because of this multiple lto_ files with same name can be created if app name
734 #and app path are same
735 sbl_uart_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
736 export sbl_uart_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=uart SBL_USE_DMA=yes BUILD_HS=yes
737 export sbl_uart_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
738 export sbl_uart_img_hs_BOARD_DEPENDENCY = yes
739 export sbl_uart_img_hs_SOC_DEPENDENCY = yes
740 export sbl_uart_img_hs_CORE_DEPENDENCY = no
741 sbl_uart_img_hs_PKG_LIST = sbl
742 sbl_uart_img_hs_INCLUDE = $(sbl_uart_img_hs_PATH)
743 export sbl_uart_img_hs_BOARDLIST = $(sbl_BOARDLIST)
744 export sbl_uart_img_hs_$(SOC)_CORELIST = mcu1_0
745 export sbl_uart_img_hs_SBL_IMAGEGEN = yes
747 # SBL QSPI Image
748 ifeq ($(SOC), tpr12)
749 sbl_qspi_img_COMP_LIST = sbl_qspi_img
750 sbl_qspi_img_RELPATH = ti/boot/sbl/board/tpr12
751 sbl_qspi_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/qspi/bin
752 sbl_qspi_img_PATH = $(PDK_SBL_COMP_PATH)/board/evmTPR12
753 sbl_qspi_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=qspi SBL_USE_DMA=yes BUILD_HS=no
754 export sbl_qspi_img_MAKEFILE
755 export sbl_qspi_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
756 sbl_qspi_img_BOARD_DEPENDENCY = yes
757 sbl_qspi_img_SOC_DEPENDENCY = yes
758 sbl_qspi_img_CORE_DEPENDENCY = no
759 export sbl_qspi_img_COMP_LIST
760 export sbl_qspi_img_BOARD_DEPENDENCY
761 export sbl_qspi_img_SOC_DEPENDENCY
762 export sbl_qspi_img_CORE_DEPENDENCY
763 sbl_qspi_img_PKG_LIST = sbl
764 sbl_qspi_img_INCLUDE = $(sbl_qspi_img_PATH)
765 sbl_qspi_img_BOARDLIST = tpr12_evm
766 export sbl_qspi_img_BOARDLIST
767 sbl_qspi_img_$(SOC)_CORELIST = mcu1_0
768 export sbl_qspi_img_$(SOC)_CORELIST
769 sbl_qspi_img_SBL_IMAGEGEN = yes
770 export sbl_qspi_img_SBL_IMAGEGEN
771 endif
773 # Individual Core Boot Test (Ordered)
774 sbl_boot_test_ordered_COMP_LIST = sbl_boot_test_ordered
775 sbl_boot_test_ordered_RELPATH = ti/boot/sbl/example/k3MulticoreApp
776 sbl_boot_test_ordered_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
777 sbl_boot_test_ordered_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
778 sbl_boot_test_ordered_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_boot_test_ordered.mk
779 export sbl_boot_test_ordered_MAKEFILE
780 sbl_boot_test_ordered_BOARD_DEPENDENCY = no
781 sbl_boot_test_ordered_SOC_DEPENDENCY = no
782 sbl_boot_test_ordered_CORE_DEPENDENCY = no
783 export sbl_boot_test_ordered_COMP_LIST
784 export sbl_boot_test_ordered_BOARD_DEPENDENCY
785 export sbl_boot_test_ordered_SOC_DEPENDENCY
786 export sbl_boot_test_ordered_CORE_DEPENDENCY
787 sbl_boot_test_ordered_PKG_LIST = sbl_boot_test_ordered
788 sbl_boot_test_ordered_INCLUDE = $(sbl_boot_test_ordered_PATH)
789 sbl_boot_test_ordered_BOARDLIST = $(sbl_BOARDLIST)
790 export sbl_boot_test_ordered_BOARDLIST
791 sbl_boot_test_ordered_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
792 export sbl_boot_test_ordered_$(SOC)_CORELIST
793 ifneq ($(SOC), tpr12)
794 sbl_EXAMPLE_LIST += sbl_boot_test_ordered
795 endif
796 sbl_boot_test_ordered_SBL_APPIMAGEGEN = yes
797 export sbl_boot_test_ordered_SBL_APPIMAGEGEN
799 # Multicore AMP Boot Test (Ordered)
800 sbl_multicore_amp_ordered_COMP_LIST = sbl_multicore_amp_ordered
801 sbl_multicore_amp_ordered_RELPATH = ti/boot/sbl/example/k3MulticoreApp
802 sbl_multicore_amp_ordered_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
803 sbl_multicore_amp_ordered_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
804 sbl_multicore_amp_ordered_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_multicore_amp_ordered.mk
805 export sbl_multicore_amp_ordered_MAKEFILE
806 # SBL multicore amp depends on sbl_boot_test for all the cores
807 sbl_multicore_amp_ordered_DEPENDS_ON=sbl_boot_test_ordered
808 export sbl_multicore_amp_ordered_DEPENDS_ON
809 sbl_multicore_amp_ordered_BOARD_DEPENDENCY = no
810 sbl_multicore_amp_ordered_SOC_DEPENDENCY = no
811 sbl_multicore_amp_ordered_CORE_DEPENDENCY = no
812 export sbl_multicore_amp_ordered_COMP_LIST
813 export sbl_multicore_amp_ordered_BOARD_DEPENDENCY
814 export sbl_multicore_amp_ordered_SOC_DEPENDENCY
815 export sbl_multicore_amp_ordered_CORE_DEPENDENCY
816 sbl_multicore_amp_ordered_PKG_LIST = sbl_multicore_amp_ordered
817 sbl_multicore_amp_ordered_INCLUDE = $(sbl_multicore_amp_ordered_PATH)
818 sbl_multicore_amp_ordered_BOARDLIST = $(sbl_BOARDLIST)
819 export sbl_multicore_amp_ordered_BOARDLIST
820 sbl_multicore_amp_ordered_$(SOC)_CORELIST = $($(SOC)_LASTCORE)
821 export sbl_multicore_amp_ordered_$(SOC)_CORELIST
822 ifneq ($(SOC), tpr12)
823 sbl_EXAMPLE_LIST += sbl_multicore_amp_ordered
824 endif
825 sbl_multicore_amp_ordered_SBL_APPIMAGEGEN = no
826 export sbl_multicore_amp_ordered_SBL_APPIMAGEGEN
828 # Individual Core Boot Test
829 sbl_boot_test_COMP_LIST = sbl_boot_test
830 sbl_boot_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
831 sbl_boot_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
832 sbl_boot_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
833 sbl_boot_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_boot_test.mk
834 export sbl_boot_test_MAKEFILE
835 sbl_boot_test_BOARD_DEPENDENCY = no
836 sbl_boot_test_SOC_DEPENDENCY = no
837 sbl_boot_test_CORE_DEPENDENCY = no
838 export sbl_boot_test_COMP_LIST
839 export sbl_boot_test_BOARD_DEPENDENCY
840 export sbl_boot_test_SOC_DEPENDENCY
841 export sbl_boot_test_CORE_DEPENDENCY
842 sbl_boot_test_PKG_LIST = sbl_boot_test
843 sbl_boot_test_INCLUDE = $(sbl_boot_test_PATH)
844 sbl_boot_test_BOARDLIST = $(sbl_BOARDLIST)
845 export sbl_boot_test_BOARDLIST
846 sbl_boot_test_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
847 export sbl_boot_test_$(SOC)_CORELIST
848 ifneq ($(SOC), tpr12)
849 sbl_EXAMPLE_LIST += sbl_boot_test
850 endif
851 sbl_boot_test_SBL_APPIMAGEGEN = yes
852 export sbl_boot_test_SBL_APPIMAGEGEN
854 # Multicore AMP Boot Test
855 sbl_multicore_amp_COMP_LIST = sbl_multicore_amp
856 sbl_multicore_amp_RELPATH = ti/boot/sbl/example/k3MulticoreApp
857 sbl_multicore_amp_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
858 sbl_multicore_amp_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
859 sbl_multicore_amp_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_multicore_amp.mk
860 export sbl_multicore_amp_MAKEFILE
861 # SBL multicore amp depends on sbl_boot_test for all the cores
862 sbl_multicore_amp_DEPENDS_ON=sbl_boot_test
863 export sbl_multicore_amp_DEPENDS_ON
864 sbl_multicore_amp_BOARD_DEPENDENCY = no
865 sbl_multicore_amp_SOC_DEPENDENCY = no
866 sbl_multicore_amp_CORE_DEPENDENCY = no
867 export sbl_multicore_amp_COMP_LIST
868 export sbl_multicore_amp_BOARD_DEPENDENCY
869 export sbl_multicore_amp_SOC_DEPENDENCY
870 export sbl_multicore_amp_CORE_DEPENDENCY
871 sbl_multicore_amp_PKG_LIST = sbl_multicore_amp
872 sbl_multicore_amp_INCLUDE = $(sbl_multicore_amp_PATH)
873 sbl_multicore_amp_BOARDLIST = $(sbl_BOARDLIST)
874 export sbl_multicore_amp_BOARDLIST
875 sbl_multicore_amp_$(SOC)_CORELIST = $($(SOC)_LASTCORE)
876 export sbl_multicore_amp_$(SOC)_CORELIST
877 ifneq ($(SOC), tpr12)
878 sbl_EXAMPLE_LIST += sbl_multicore_amp
879 endif
880 sbl_multicore_amp_SBL_APPIMAGEGEN = no
881 export sbl_multicore_amp_SBL_APPIMAGEGEN
883 # R5 Lockstep and MPU SMP Boot Test
884 sbl_smp_test_COMP_LIST = sbl_smp_test
885 sbl_smp_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
886 sbl_smp_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
887 sbl_smp_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
888 sbl_smp_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_smp_test.mk BOOTMODE=mmcsd
889 export sbl_smp_test_MAKEFILE
890 sbl_smp_test_BOARD_DEPENDENCY = no
891 sbl_smp_test_SOC_DEPENDENCY = no
892 sbl_smp_test_CORE_DEPENDENCY = no
893 export sbl_smp_test_COMP_LIST
894 export sbl_smp_test_BOARD_DEPENDENCY
895 export sbl_smp_test_SOC_DEPENDENCY
896 export sbl_smp_test_CORE_DEPENDENCY
897 sbl_smp_test_PKG_LIST = sbl_smp_test
898 sbl_smp_test_INCLUDE = $(sbl_smp_test_PATH)
899 sbl_smp_test_BOARDLIST = $(sbl_BOARDLIST)
900 export sbl_smp_test_BOARDLIST
901 sbl_smp_test_$(SOC)_CORELIST = $($(SOC)_smp_CORELIST)
902 export sbl_smp_test_$(SOC)_CORELIST
903 ifneq ($(SOC),$(filter $(SOC), am64x tpr12))
904 sbl_EXAMPLE_LIST += sbl_smp_test
905 endif
906 sbl_smp_test_SBL_APPIMAGEGEN = yes
907 export sbl_smp_test_SBL_APPIMAGEGEN
909 # Multicore SMP Boot Test
910 sbl_multicore_smp_COMP_LIST = sbl_multicore_smp
911 sbl_multicore_smp_RELPATH = ti/boot/sbl/example/k3MulticoreApp
912 sbl_multicore_smp_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
913 sbl_multicore_smp_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
914 sbl_multicore_smp_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_multicore_smp.mk
915 export sbl_multicore_smp_MAKEFILE
916 # SBL multicore smp depends on sbl_smp_test for all the cores
917 sbl_multicore_smp_DEPENDS_ON=sbl_smp_test
918 export sbl_multicore_smp_DEPENDS_ON
919 sbl_multicore_smp_BOARD_DEPENDENCY = no
920 sbl_multicore_smp_SOC_DEPENDENCY = no
921 sbl_multicore_smp_CORE_DEPENDENCY = no
922 export sbl_multicore_smp_COMP_LIST
923 export sbl_multicore_smp_BOARD_DEPENDENCY
924 export sbl_multicore_smp_SOC_DEPENDENCY
925 export sbl_multicore_smp_CORE_DEPENDENCY
926 sbl_multicore_smp_PKG_LIST = sbl_multicore_smp
927 sbl_multicore_smp_INCLUDE = $(sbl_multicore_smp_PATH)
928 sbl_multicore_smp_BOARDLIST = $(sbl_BOARDLIST)
929 export sbl_multicore_smp_BOARDLIST
930 sbl_multicore_smp_$(SOC)_CORELIST := $($(SOC)_LASTCORE)
931 export sbl_multicore_smp_$(SOC)_CORELIST
932 ifneq ($(SOC),$(filter $(SOC), am64x tpr12))
933 sbl_EXAMPLE_LIST += sbl_multicore_smp
934 endif
935 sbl_multicore_smp_SBL_APPIMAGEGEN = no
936 export sbl_multicore_smp_SBL_APPIMAGEGEN
938 # R5 boot XIP Test
939 sbl_boot_xip_test_COMP_LIST = sbl_boot_xip_test
940 sbl_boot_xip_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
941 sbl_boot_xip_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
942 sbl_boot_xip_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
943 sbl_boot_xip_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_mcu0_boot_xip_test.mk
944 export sbl_boot_xip_test_MAKEFILE
945 sbl_boot_xip_test_BOARD_DEPENDENCY = no
946 sbl_boot_xip_test_SOC_DEPENDENCY = no
947 sbl_boot_xip_test_CORE_DEPENDENCY = no
948 export sbl_boot_xip_test_COMP_LIST
949 export sbl_boot_xip_test_BOARD_DEPENDENCY
950 export sbl_boot_xip_test_SOC_DEPENDENCY
951 export sbl_boot_xip_test_CORE_DEPENDENCY
952 sbl_boot_xip_test_PKG_LIST = sbl_boot_xip_test
953 sbl_boot_xip_test_INCLUDE = $(sbl_boot_xip_test_PATH)
954 sbl_boot_xip_test_BOARDLIST = $(sbl_BOARDLIST)
955 export sbl_boot_xip_test_BOARDLIST
956 sbl_boot_xip_test_$(SOC)_CORELIST = mcu1_0
957 export sbl_boot_xip_test_$(SOC)_CORELIST
958 ifneq ($(SOC),$(filter $(SOC), tpr12))
959 sbl_EXAMPLE_LIST += sbl_boot_xip_test
960 endif
961 sbl_boot_xip_test_SBL_APPIMAGEGEN = yes
962 sbl_boot_xip_test_SBL_APP_BINIMAGEGEN = yes
963 sbl_boot_xip_test_SBL_APP_BIN_SECTIONS = --only-section .rstvectors --only-section .sbl_mcu_1_0_resetvector
964 export sbl_boot_xip_test_SBL_APPIMAGEGEN
965 export sbl_boot_xip_test_SBL_APP_BINIMAGEGEN
966 export sbl_boot_xip_test_SBL_APP_BIN_SECTIONS
968 # R5 boot XIP entry
969 sbl_boot_xip_entry_COMP_LIST = sbl_boot_xip_entry
970 sbl_boot_xip_entry_RELPATH = ti/boot/sbl/example/k3MulticoreApp
971 sbl_boot_xip_entry_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
972 sbl_boot_xip_entry_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
973 sbl_boot_xip_entry_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_mcu0_boot_xip_entry.mk
974 export sbl_boot_xip_entry_MAKEFILE
975 sbl_boot_xip_entry_BOARD_DEPENDENCY = no
976 sbl_boot_xip_entry_SOC_DEPENDENCY = no
977 sbl_boot_xip_entry_CORE_DEPENDENCY = no
978 export sbl_boot_xip_entry_COMP_LIST
979 export sbl_boot_xip_entry_BOARD_DEPENDENCY
980 export sbl_boot_xip_entry_SOC_DEPENDENCY
981 export sbl_boot_xip_entry_CORE_DEPENDENCY
982 sbl_boot_xip_entry_PKG_LIST = sbl_boot_xip_entry
983 sbl_boot_xip_entry_INCLUDE = $(sbl_boot_xip_entry_PATH)
984 sbl_boot_xip_entry_BOARDLIST = $(sbl_BOARDLIST)
985 export sbl_boot_xip_entry_BOARDLIST
986 sbl_boot_xip_entry_$(SOC)_CORELIST = mcu1_0
987 export sbl_boot_xip_entry_$(SOC)_CORELIST
988 ifneq ($(SOC),$(filter $(SOC), tpr12))
989 sbl_EXAMPLE_LIST += sbl_boot_xip_entry
990 endif
991 sbl_boot_xip_entry_SBL_APPIMAGEGEN = yes
992 export sbl_boot_xip_entry_SBL_APPIMAGEGEN
994 # Display profiling info before MCU1_0 boot
995 # increases delay time, between end of SBL
996 # and start of app, but useful for
997 # debugging and tuning performace knobs
998 #SBL_CFLAGS += -DSBL_DISPLAY_PROFILE_INFO
1000 ifeq ($(SOC), am64x)
1001 SBL_CFLAGS += -DSBL_BYPASS_OSPI_DRIVER_FOR_SYSFW_DOWNLOAD
1002 endif
1004 ###### Use boot_perf_benchmark example#######
1005 ###### to fine tune the perf knobs #########
1007 ###########START BOOT PERF KNOBS#############
1008 # SBL log level
1009 # no logs = 0, only errors =1, normal logs = 2, all logs = 3
1011 ifeq ($(SOC), tpr12)
1012 SBL_CFLAGS += -DSBL_LOG_LEVEL=0
1013 else
1014 SBL_CFLAGS += -DSBL_LOG_LEVEL=2
1015 endif
1017 SBL_CFLAGS += -DSBL_ENABLE_PLL
1018 SBL_CFLAGS += -DSBL_ENABLE_CLOCKS
1019 SBL_CFLAGS += -DSBL_ENABLE_DDR
1021 ############################################
1022 # DISABLING the options above this caption
1023 # improves boot time at the cost of moving
1024 # PLL, LPSC and DDR init to the app
1025 #
1026 # ENABLING the options below this caption
1027 # improves boot time by skipping stuff SBL
1028 # usually does.
1029 ###########################################
1030 # If enabled, the SBL will branch to the start
1031 # of MCU_0 app without resetting the core
1032 # if csl defaults are godd enough this enables
1033 # app to skip redoing mcu initialization
1034 #SBL_CFLAGS += -DSBL_SKIP_MCU_RESET
1036 # If enabled, SBL will skip initializing
1037 # sysfw. The SBL will only load it.
1038 # No SCI Client APIs will work. Saves
1039 # boot time. When this is enabled
1040 # make sure that SBL_SKIP_MCU_RESET is also
1041 # enabled, as resetting a core needs SYSFW
1042 # to be running.
1043 # SBL_CFLAGS += -DSBL_SKIP_SYSFW_INIT
1045 # If enabled, SBL will skip calling
1046 # Sciclient_boardCfg* API. Enabling
1047 # it saves boot time, can affect
1048 # functionality. The app must call the
1049 # Sciclient_boardCfg* APIs that the SBL
1050 # skips. Like for eg, if SBL skips calling
1051 # Sciclient_boardCfgPm, then Sciclient_boardCfgRm
1052 # and Sciclient_boardCfgSec must also
1053 # be skipped.
1054 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_BOARD
1055 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_RM
1056 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_SEC
1057 #SBL_CFLAGS += -DSBL_SKIP_BRD_CFG_PM
1059 # If enabled, SBL will only enable the Clocks
1060 # and PLLs for the MCU domain. Clocks and PLLs
1061 # for the Main domaincan be initialized by the
1062 # app to save boot time or if the application
1063 # usecase demands it.
1064 #SBL_CFLAGS += -DSBL_ENABLE_DEV_GRP_MCU
1066 # If enabled, SBL will use alternate
1067 # config steps to directly boot an HLOS,
1068 # including an alternate set of Sciclient
1069 # RM board cfg settings.
1070 # NOTE: Currently supported only for J721E, J7200
1071 #SBL_CFLAGS += -DSBL_ENABLE_HLOS_BOOT
1073 # If enabled, SBL will not leave the OSPI
1074 # flash in XIP mode, so that the MAIN
1075 # domain Cortex-A code (HLOS) can reset
1076 # the flash and take control of it, if
1077 # needed.
1078 #SBL_CFLAGS += -DSBL_HLOS_OWNS_FLASH
1080 # If enabled, SBL will skip any PINMUX
1081 # init being used in the bootloader and
1082 # expect that it will be handled by
1083 # another app.
1084 #SBL_CFLAGS += -DSBL_SKIP_PINMUX_ENABLE
1086 # If enabled, SBL will skip handling the
1087 # SoC Late Init functions normally contained
1088 # in SBL_SocLateInit()
1089 #SBL_CFLAGS += -DSBL_SKIP_LATE_INIT
1091 # If enabled, the SBL will configure & use
1092 # resources in the MCU domain ONLY to
1093 # enable MCU-only code to run.
1094 #SBL_CFLAGS += -DSBL_USE_MCU_DOMAIN_ONLY
1096 # If enabled for OSPI boot the SBL will bypass the
1097 # OSPI driver completely and let ROM copy the sysftw/application
1098 # from flash.
1099 #SBL_CFLAGS += -DSBL_BYPASS_OSPI_DRIVER
1101 # If enabled for OSPI boot the SBL will bypass the
1102 # OSPI driver for system firmware download and use the OSPI driver for
1103 # downloading application from the flash
1104 #SBL_CFLAGS += -DSBL_BYPASS_OSPI_DRIVER_FOR_SYSFW_DOWNLOAD
1106 # If enabled the SBL image is built for running on VLAB simulation.
1107 #SBL_CFLAGS += -DVLAB_SIM
1109 ###########END BOOT PERF KNOBS#############
1111 # Example - Building Custom SBL Images
1112 # Build and SBl with custom flags to change
1113 # different build configurations
1114 CUST_SBL_TEST_SOCS = am65xx j721e j7200 am64x_evm
1115 CUST_SBL_TEST_BOARDS = am65xx_evm j721e_evm j7200_evm am64x_evm
1116 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=1 -DSBL_LOG_LEVEL=0 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_SKIP_MCU_RESET -DBOOT_OSPI "
1117 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=1 -DSBL_LOG_LEVEL=0 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SKIP_MCU_RESET -DSBL_SKIP_BRD_CFG_PM -DBOOT_OSPI "
1118 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=0 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_SKIP_SYSFW_INIT -DSBL_SKIP_MCU_RESET -DBOOT_OSPI"
1119 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=1 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0xB8000000 -DSBL_SCRATCH_MEM_SIZE=0x4000000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_ENABLE_DDR -DSBL_SKIP_MCU_RESET -DBOOT_OSPI"
1120 ifeq ($(SOC), j7200)
1121 CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=2 -DSBL_SCRATCH_MEM_START=0x41cc0000 -DSBL_SCRATCH_MEM_SIZE=0x40000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_SKIP_MCU_RESET -DBOOT_OSPI -DSBL_ENABLE_DEV_GRP_MCU -DSBL_HLOS_OWNS_FLASH"
1122 else
1123 ifeq ($(findstring j7,$(SOC)),j7)
1124 CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0x41cc0000 -DSBL_SCRATCH_MEM_SIZE=0x40000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_SKIP_MCU_RESET -DBOOT_OSPI -DSBL_ENABLE_DEV_GRP_MCU -DSBL_HLOS_OWNS_FLASH"
1125 # Custom example: Early CAN response (NOTE: before using the line below, comment out the line above)
1126 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0x41cc0000 -DSBL_SCRATCH_MEM_SIZE=0x40000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_SKIP_MCU_RESET -DBOOT_OSPI -DSBL_ENABLE_DEV_GRP_MCU -DSBL_HLOS_OWNS_FLASH -DSBL_SKIP_PINMUX_ENABLE -DSBL_SKIP_LATE_INIT -DSBL_USE_MCU_DOMAIN_ONLY"
1127 else
1128 CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DSBL_SKIP_MCU_RESET -DBOOT_OSPI -DSBL_ENABLE_DEV_GRP_MCU -DSBL_HLOS_OWNS_FLASH"
1129 endif
1130 #Custom configuration for AM64x OSPI Boot
1131 #CUST_SBL_TEST_FLAGS =" -DSBL_USE_DMA=0 -DSBL_LOG_LEVEL=3 -DSBL_SCRATCH_MEM_START=0x70100000 -DSBL_SCRATCH_MEM_SIZE=0xF0000 -DSBL_ENABLE_PLL -DSBL_ENABLE_CLOCKS -DBOOT_OSPI -DSBL_ENABLE_DDR -DSBL_BYPASS_OSPI_DRIVER"
1132 endif
1134 # SBL Custom LIB
1135 sbl_lib_cust_COMP_LIST = sbl_lib_cust
1136 sbl_lib_cust_RELPATH = ti/boot/sbl
1137 export sbl_lib_cust_OBJPATH = ti/boot/sbl/cust
1138 sbl_lib_cust_LIBNAME = sbl_lib_cust
1139 sbl_lib_cust_PATH = $(PDK_SBL_COMP_PATH)
1140 sbl_lib_cust_LIBNAME = sbl_lib_cust
1141 sbl_lib_cust_LIBPATH = $(PDK_SBL_COMP_PATH)/lib/cust
1142 sbl_lib_cust_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_lib.mk BOOTMODE=cust SBL_USE_DMA=no CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS)
1143 export sbl_lib_cust_MAKEFILE
1144 export sbl_lib_cust_LIBNAME
1145 export sbl_lib_cust_LIBPATH
1146 sbl_lib_cust_BOARD_DEPENDENCY = yes
1147 sbl_lib_cust_SOC_DEPENDENCY = yes
1148 sbl_lib_cust_CORE_DEPENDENCY = no
1149 export sbl_lib_cust_COMP_LIST
1150 export sbl_lib_cust_BOARD_DEPENDENCY
1151 export sbl_lib_cust_CORE_DEPENDENCY
1152 sbl_lib_cust_PKG_LIST = sbl_lib_cust
1153 sbl_lib_cust_INCLUDE = $(sbl_lib_cust_PATH)
1154 sbl_lib_cust_SOCLIST = $(CUST_SBL_TEST_SOCS)
1155 sbl_lib_cust_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1156 export sbl_lib_cust_SOCLIST
1157 export sbl_lib_cust_BOARDLIST
1158 sbl_lib_cust_$(SOC)_CORELIST = mcu1_0
1159 export sbl_lib_cust_$(SOC)_CORELIST
1161 # SBL custom image
1162 sbl_cust_img_COMP_LIST = sbl_cust_img
1163 sbl_cust_img_RELPATH = ti/boot/sbl/board/k3
1164 sbl_cust_img_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)/cust/bin
1165 sbl_cust_img_PATH = $(PDK_SBL_COMP_PATH)/board/k3
1166 sbl_cust_img_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk BOOTMODE=cust SBL_USE_DMA=no BUILD_HS=no CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS)
1167 export sbl_cust_img_MAKEFILE
1168 export sbl_cust_img_SBL_CERT_KEY=$(SBL_CERT_KEY)
1169 sbl_cust_img_BOARD_DEPENDENCY = yes
1170 sbl_cust_img_SOC_DEPENDENCY = yes
1171 sbl_cust_img_CORE_DEPENDENCY = no
1172 export sbl_cust_img_COMP_LIST
1173 export sbl_cust_img_BOARD_DEPENDENCY
1174 export sbl_cust_img_SOC_DEPENDENCY
1175 export sbl_cust_img_CORE_DEPENDENCY
1176 sbl_cust_img_PKG_LIST = sbl
1177 sbl_cust_img_INCLUDE = $(sbl_cust_img_PATH)
1178 sbl_cust_img_SOCLIST = $(CUST_SBL_TEST_SOCS)
1179 sbl_cust_img_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1180 export sbl_cust_img_SOCLIST
1181 export sbl_cust_img_BOARDLIST
1182 sbl_cust_img_$(SOC)_CORELIST = mcu1_0
1183 export sbl_cust_img_$(SOC)_CORELIST
1184 ifneq ($(SOC), am64x tpr12)
1185 sbl_EXAMPLE_LIST += sbl_cust_img
1186 endif
1187 sbl_cust_img_SBL_IMAGEGEN = yes
1188 export sbl_cust_img_SBL_IMAGEGEN
1190 # SBL custom image - For HS build
1191 export sbl_cust_img_hs_COMP_LIST = sbl_cust_img_hs
1192 sbl_cust_img_hs_RELPATH = ti/boot/sbl/board/k3
1193 sbl_cust_img_hs_CUSTOM_BINPATH = $(PDK_SBL_COMP_PATH)/binary/$(BOARD)_hs/cust/bin
1194 #Note: The below variable is purposefully set to build folder - different than
1195 #non-hs app.
1196 #The APPNAME or app -C directory (_PATH variable) should be unique as the complier
1197 #creates lto_$APPNAME optimization file in the directory in which -C is called
1198 #Because of this multiple lto_ files with same name can be created if app name
1199 #and app path are same
1200 sbl_cust_img_hs_PATH = $(PDK_SBL_COMP_PATH)/build
1201 export sbl_cust_img_hs_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_img.mk CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS) BOOTMODE=cust SBL_USE_DMA=no BUILD_HS=yes
1202 export sbl_cust_img_hs_SBL_CERT_KEY=$(SBL_CERT_KEY_HS)
1203 export sbl_cust_img_hs_BOARD_DEPENDENCY = yes
1204 export sbl_cust_img_hs_SOC_DEPENDENCY = yes
1205 export sbl_cust_img_hs_CORE_DEPENDENCY = no
1206 sbl_cust_img_hs_PKG_LIST = sbl
1207 sbl_cust_img_hs_INCLUDE = $(sbl_cust_img_hs_PATH)
1208 export sbl_cust_img_hs_SOCLIST = $(CUST_SBL_TEST_SOCS)
1209 export sbl_cust_img_hs_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1210 export sbl_cust_img_hs_$(SOC)_CORELIST = mcu1_0
1211 export sbl_cust_img_hs_SBL_IMAGEGEN = yes
1212 ifneq ($(SOC),$(filter $(SOC), am64x j7200 tpr12))
1213 sbl_EXAMPLE_LIST += sbl_cust_img_hs
1214 endif
1216 # R5 boot performance Test - works only with custom SBL
1217 sbl_boot_perf_test_COMP_LIST = sbl_boot_perf_test
1218 sbl_boot_perf_test_RELPATH = ti/boot/sbl/example/k3MulticoreApp
1219 sbl_boot_perf_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/binary
1220 sbl_boot_perf_test_PATH = $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp
1221 sbl_boot_perf_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_mcu0_boot_perf_test.mk BOOTMODE=cust CUST_SBL_FLAGS=$(CUST_SBL_TEST_FLAGS)
1222 export sbl_boot_perf_test_MAKEFILE
1223 sbl_boot_perf_test_BOARD_DEPENDENCY = no
1224 sbl_boot_perf_test_SOC_DEPENDENCY = no
1225 sbl_boot_perf_test_CORE_DEPENDENCY = no
1226 export sbl_boot_perf_test_COMP_LIST
1227 export sbl_boot_perf_test_BOARD_DEPENDENCY
1228 export sbl_boot_perf_test_SOC_DEPENDENCY
1229 export sbl_boot_perf_test_CORE_DEPENDENCY
1230 sbl_boot_perf_test_PKG_LIST = sbl_boot_perf_test
1231 sbl_boot_perf_test_INCLUDE = $(sbl_boot_perf_test_PATH)
1232 sbl_boot_perf_test_SOCLIST = $(CUST_SBL_TEST_SOCS)
1233 sbl_boot_perf_test_BOARDLIST = $(CUST_SBL_TEST_BOARDS)
1234 export sbl_boot_perf_test_SOCLIST
1235 export sbl_boot_perf_test_BOARDLIST
1236 sbl_boot_perf_test_$(SOC)_CORELIST = mcu1_0
1237 export sbl_boot_perf_test_$(SOC)_CORELIST
1238 ifneq ($(SOC), am64x tpr12)
1239 sbl_EXAMPLE_LIST += sbl_boot_perf_test
1240 endif
1241 sbl_boot_perf_test_SBL_APPIMAGEGEN = yes
1242 export sbl_boot_perf_test_SBL_APPIMAGEGEN
1244 # TPR12 QT Test Bench image
1245 ifeq ($(SOC), tpr12)
1246 sbl_r4tb_COMP_LIST = sbl_r4tb
1247 sbl_r4tb_RELPATH = ti/boot/sbl/example/tpr12MulticoreApp/r4_tb
1248 sbl_r4tb_BINPATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp/r4_tb/obj
1249 sbl_r4tb_PATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp/r4_tb
1250 sbl_r4tb_MAKEFILE = -f$(sbl_r4tb_PATH)/makefile all R4_TB_PATH:=${sbl_r4tb_PATH} R4_CODEGEN_INSTALL_PATH:=${TOOLCHAIN_PATH_R5}
1251 export sbl_r4tb_MAKEFILE
1252 sbl_r4tb_BOARD_DEPENDENCY = no
1253 sbl_r4tb_SOC_DEPENDENCY = no
1254 sbl_r4tb_CORE_DEPENDENCY = no
1255 export sbl_r4tb_COMP_LIST
1256 export sbl_r4tb_BOARD_DEPENDENCY
1257 export sbl_r4tb_SOC_DEPENDENCY
1258 export sbl_r4tb_CORE_DEPENDENCY
1259 sbl_r4tb_PKG_LIST = sbl_r4tb
1260 sbl_r4tb_INCLUDE = $(sbl_r4tb_PATH)
1261 sbl_r4tb_BOARDLIST = tpr12_evm
1262 export sbl_r4tb_BOARDLIST
1263 sbl_r4tb_$(SOC)_CORELIST = $(sbl_$(SOC)_CORELIST)
1264 export sbl_r4tb_$(SOC)_CORELIST
1265 sbl_r4tb_SBL_APPIMAGEGEN = no
1266 export sbl_r4tb_SBL_APPIMAGEGEN
1267 endif
1269 ifeq ($(SOC), tpr12)
1270 # R5 Lockstep and DSP Boot Test
1271 sbl_tpr12_test_COMP_LIST = sbl_tpr12_test
1272 sbl_tpr12_test_RELPATH = ti/boot/sbl/example/tpr12MulticoreApp
1273 sbl_tpr12_test_BINPATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp/binary
1274 sbl_tpr12_test_PATH = $(PDK_SBL_COMP_PATH)/example/tpr12MulticoreApp
1275 sbl_tpr12_test_MAKEFILE = -f$(PDK_SBL_COMP_PATH)/build/sbl_tpr12_test.mk BOOTMODE=uart
1276 export sbl_tpr12_test_MAKEFILE
1277 sbl_tpr12_test_BOARD_DEPENDENCY = no
1278 sbl_tpr12_test_SOC_DEPENDENCY = no
1279 sbl_tpr12_test_CORE_DEPENDENCY = no
1280 export sbl_tpr12_test_COMP_LIST
1281 export sbl_tpr12_test_BOARD_DEPENDENCY
1282 export sbl_tpr12_test_SOC_DEPENDENCY
1283 export sbl_tpr12_test_CORE_DEPENDENCY
1284 sbl_tpr12_test_PKG_LIST = sbl_tpr12_test
1285 sbl_tpr12_test_INCLUDE = $(sbl_tpr12_test_PATH)
1286 sbl_tpr12_test_BOARDLIST = $(sbl_BOARDLIST)
1287 export sbl_tpr12_test_BOARDLIST
1288 sbl_tpr12_test_$(SOC)_CORELIST = $(sbl_tpr12_CORELIST)
1289 export sbl_tpr12_test_$(SOC)_CORELIST
1290 sbl_EXAMPLE_LIST += sbl_tpr12_test
1291 sbl_tpr12_test_SBL_APPIMAGEGEN = no
1292 export sbl_tpr12_test_SBL_APPIMAGEGEN
1293 endif
1295 # SBL not supported for any profile
1296 # other than release
1297 ifneq ($(BUILD_PROFILE), release)
1298 ifneq ($(SOC), tpr12)
1299 sbl_LIB_LIST =
1300 sbl_EXAMPLE_LIST =
1301 SBL_CFLAGS =
1302 endif # TPR12 Debug SBL build support
1303 endif # ifneq ($(BUILD_PROFILE), release)
1305 export sbl_LIB_LIST
1306 export sbl_EXAMPLE_LIST
1307 export SBL_CFLAGS
1309 sbl_component_make_include := 1
1310 endif