blob: 17fdc0d6a47d061eecc5b25ff233cc38ecef645c [file] [log] [blame]
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +02001#
Marek Vasut0aa268e2019-05-18 19:29:16 +02002# Copyright (c) 2018-2019, Renesas Electronics Corporation. All rights reserved.
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +02003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Marek Vasute3d10262019-01-29 06:06:08 +01007PROGRAMMABLE_RESET_ADDRESS := 0
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +02008COLD_BOOT_SINGLE_CPU := 1
9ARM_CCI_PRODUCT_ID := 500
10TRUSTED_BOARD_BOOT := 1
11RESET_TO_BL31 := 1
12GENERATE_COT := 1
13BL2_AT_EL3 := 1
Marek Vasut1bef5752018-12-28 20:38:09 +010014ENABLE_SVE_FOR_NS := 0
Marek Vasut0aa268e2019-05-18 19:29:16 +020015MULTI_CONSOLE_API := 1
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +020016
Marek Vasut8ed5c5c2019-02-12 00:09:46 +010017CRASH_REPORTING := 1
18HANDLE_EA_EL3_FIRST := 1
19
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +020020$(eval $(call add_define,PLAT_EXTRA_LD_SCRIPT))
21
22ifeq (${SPD},none)
23 SPD_NONE:=1
24 $(eval $(call add_define,SPD_NONE))
25endif
26
27# LSI setting common define
28RCAR_H3:=0
29RCAR_M3:=1
30RCAR_M3N:=2
31RCAR_E3:=3
32RCAR_H3N:=4
Marek Vasut4ae342c2019-01-05 13:56:03 +010033RCAR_D3:=5
Valentine Barshakf2184142018-10-30 02:06:17 +030034RCAR_V3M:=6
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +020035RCAR_AUTO:=99
36$(eval $(call add_define,RCAR_H3))
37$(eval $(call add_define,RCAR_M3))
38$(eval $(call add_define,RCAR_M3N))
39$(eval $(call add_define,RCAR_E3))
40$(eval $(call add_define,RCAR_H3N))
Marek Vasut4ae342c2019-01-05 13:56:03 +010041$(eval $(call add_define,RCAR_D3))
Valentine Barshakf2184142018-10-30 02:06:17 +030042$(eval $(call add_define,RCAR_V3M))
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +020043$(eval $(call add_define,RCAR_AUTO))
44RCAR_CUT_10:=0
45RCAR_CUT_11:=1
Marek Vasut3af20052019-02-25 14:57:08 +010046RCAR_CUT_13:=3
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +020047RCAR_CUT_20:=10
48RCAR_CUT_30:=20
49$(eval $(call add_define,RCAR_CUT_10))
50$(eval $(call add_define,RCAR_CUT_11))
Marek Vasut3af20052019-02-25 14:57:08 +010051$(eval $(call add_define,RCAR_CUT_13))
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +020052$(eval $(call add_define,RCAR_CUT_20))
53$(eval $(call add_define,RCAR_CUT_30))
54
55ifndef LSI
56 $(error "Error: Unknown LSI. Please use LSI=<LSI name> to specify the LSI")
57else
58 ifeq (${LSI},AUTO)
59 RCAR_LSI:=${RCAR_AUTO}
60 else ifeq (${LSI},H3)
61 RCAR_LSI:=${RCAR_H3}
62 ifndef LSI_CUT
63 # enable compatible function.
64 RCAR_LSI_CUT_COMPAT := 1
65 $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
66 else
67 # disable compatible function.
68 ifeq (${LSI_CUT},10)
69 RCAR_LSI_CUT:=0
70 else ifeq (${LSI_CUT},11)
71 RCAR_LSI_CUT:=1
72 else ifeq (${LSI_CUT},20)
73 RCAR_LSI_CUT:=10
74 else ifeq (${LSI_CUT},30)
75 RCAR_LSI_CUT:=20
76 else
77 $(error "Error: ${LSI_CUT} is not supported.")
78 endif
79 $(eval $(call add_define,RCAR_LSI_CUT))
80 endif
81 else ifeq (${LSI},H3N)
82 RCAR_LSI:=${RCAR_H3N}
83 ifndef LSI_CUT
84 # enable compatible function.
85 RCAR_LSI_CUT_COMPAT := 1
86 $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
87 else
88 # disable compatible function.
89 ifeq (${LSI_CUT},30)
90 RCAR_LSI_CUT:=20
91 else
92 $(error "Error: ${LSI_CUT} is not supported.")
93 endif
94 $(eval $(call add_define,RCAR_LSI_CUT))
95 endif
96 else ifeq (${LSI},M3)
97 RCAR_LSI:=${RCAR_M3}
98 ifndef LSI_CUT
99 # enable compatible function.
100 RCAR_LSI_CUT_COMPAT := 1
101 $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
102 else
103 # disable compatible function.
104 ifeq (${LSI_CUT},10)
105 RCAR_LSI_CUT:=0
106 else ifeq (${LSI_CUT},11)
107 RCAR_LSI_CUT:=1
Marek Vasut3af20052019-02-25 14:57:08 +0100108 else ifeq (${LSI_CUT},13)
109 RCAR_LSI_CUT:=3
110 else ifeq (${LSI_CUT},30)
111 RCAR_LSI_CUT:=20
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200112 else
113 $(error "Error: ${LSI_CUT} is not supported.")
114 endif
115 $(eval $(call add_define,RCAR_LSI_CUT))
116 endif
117 else ifeq (${LSI},M3N)
118 RCAR_LSI:=${RCAR_M3N}
119 ifndef LSI_CUT
120 # enable compatible function.
121 RCAR_LSI_CUT_COMPAT := 1
122 $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
123 else
124 # disable compatible function.
125 ifeq (${LSI_CUT},10)
126 RCAR_LSI_CUT:=0
127 else ifeq (${LSI_CUT},11)
128 RCAR_LSI_CUT:=1
129 else
130 $(error "Error: ${LSI_CUT} is not supported.")
131 endif
132 $(eval $(call add_define,RCAR_LSI_CUT))
133 endif
134 else ifeq (${LSI},E3)
135 RCAR_LSI:=${RCAR_E3}
136 ifndef LSI_CUT
137 # enable compatible function.
138 RCAR_LSI_CUT_COMPAT := 1
139 $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
140 else
141 # disable compatible function.
142 ifeq (${LSI_CUT},10)
143 RCAR_LSI_CUT:=0
Marek Vasut3af20052019-02-25 14:57:08 +0100144 else ifeq (${LSI_CUT},11)
145 RCAR_LSI_CUT:=1
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200146 else
147 $(error "Error: ${LSI_CUT} is not supported.")
148 endif
149 $(eval $(call add_define,RCAR_LSI_CUT))
150 endif
Marek Vasut4ae342c2019-01-05 13:56:03 +0100151 else ifeq (${LSI},D3)
152 RCAR_LSI:=${RCAR_D3}
153 ifndef LSI_CUT
154 # enable compatible function.
155 RCAR_LSI_CUT_COMPAT := 1
156 $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
157 else
158 # disable compatible function.
159 ifeq (${LSI_CUT},10)
160 RCAR_LSI_CUT:=0
161 else
162 $(error "Error: ${LSI_CUT} is not supported.")
163 endif
164 $(eval $(call add_define,RCAR_LSI_CUT))
165 endif
Valentine Barshakf2184142018-10-30 02:06:17 +0300166 else ifeq (${LSI},V3M)
167 RCAR_LSI:=${RCAR_V3M}
168 ifndef LSI_CUT
169 # enable compatible function.
170 RCAR_LSI_CUT_COMPAT := 1
171 $(eval $(call add_define,RCAR_LSI_CUT_COMPAT))
172 else
173 # disable compatible function.
174 ifeq (${LSI_CUT},10)
175 RCAR_LSI_CUT:=0
176 endif
177 ifeq (${LSI_CUT},20)
178 RCAR_LSI_CUT:=10
179 endif
180 $(eval $(call add_define,RCAR_LSI_CUT))
181 endif
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200182 else
183 $(error "Error: ${LSI} is not supported.")
184 endif
185 $(eval $(call add_define,RCAR_LSI))
186endif
187
Jorge Ramirez-Ortiz87c04052018-11-19 19:26:56 +0100188# lock RPC HYPERFLASH access by default
189# unlock to repogram the ATF firmware from u-boot
190ifndef RCAR_RPC_HYPERFLASH_LOCKED
191RCAR_RPC_HYPERFLASH_LOCKED := 1
192endif
193$(eval $(call add_define,RCAR_RPC_HYPERFLASH_LOCKED))
194
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200195# Process RCAR_SECURE_BOOT flag
196ifndef RCAR_SECURE_BOOT
197RCAR_SECURE_BOOT := 1
198endif
199$(eval $(call add_define,RCAR_SECURE_BOOT))
200
201# Process RCAR_QOS_TYPE flag
202ifndef RCAR_QOS_TYPE
203RCAR_QOS_TYPE := 0
204endif
205$(eval $(call add_define,RCAR_QOS_TYPE))
206
207# Process RCAR_DRAM_SPLIT flag
208ifndef RCAR_DRAM_SPLIT
209RCAR_DRAM_SPLIT := 0
210endif
211$(eval $(call add_define,RCAR_DRAM_SPLIT))
212
213# Process RCAR_BL33_EXECUTION_EL flag
214ifndef RCAR_BL33_EXECUTION_EL
215RCAR_BL33_EXECUTION_EL := 0
216endif
217$(eval $(call add_define,RCAR_BL33_EXECUTION_EL))
218
219# Process RCAR_AVS_SETTING_ENABLE flag
220ifeq (${RCAR_AVS_SETTING_ENABLE},0)
221AVS_SETTING_ENABLE := 0
222else
223AVS_SETTING_ENABLE := 1
224endif
225$(eval $(call add_define,AVS_SETTING_ENABLE))
226
227# Process RCAR_LOSSY_ENABLE flag
228ifndef RCAR_LOSSY_ENABLE
229RCAR_LOSSY_ENABLE := 0
230endif
231$(eval $(call add_define,RCAR_LOSSY_ENABLE))
232
233# Process LIFEC_DBSC_PROTECT_ENABLE flag
234ifndef LIFEC_DBSC_PROTECT_ENABLE
235LIFEC_DBSC_PROTECT_ENABLE := 1
236endif
237$(eval $(call add_define,LIFEC_DBSC_PROTECT_ENABLE))
238
239# Process PMIC_ROHM_BD9571 flag
240ifndef PMIC_ROHM_BD9571
241PMIC_ROHM_BD9571 := 1
242endif
243$(eval $(call add_define,PMIC_ROHM_BD9571))
244
245# Process PMIC_LEVEL_MODE flag
246ifndef PMIC_LEVEL_MODE
247PMIC_LEVEL_MODE := 1
248endif
249$(eval $(call add_define,PMIC_LEVEL_MODE))
250
251# Process RCAR_GEN3_ULCB flag
252ifndef RCAR_GEN3_ULCB
253RCAR_GEN3_ULCB := 0
254endif
255ifeq (${RCAR_GEN3_ULCB},1)
256 BOARD_DEFAULT := 0x10
257 $(eval $(call add_define,BOARD_DEFAULT))
258endif
259$(eval $(call add_define,RCAR_GEN3_ULCB))
260
261# Process RCAR_REF_INT flag
262ifndef RCAR_REF_INT
263RCAR_REF_INT :=0
264endif
265$(eval $(call add_define,RCAR_REF_INT))
266
267# Process RCAR_REWT_TRAINING flag
268ifndef RCAR_REWT_TRAINING
Toshiyuki Ogasahara040966b2019-03-11 15:03:00 +0900269RCAR_REWT_TRAINING := 1
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200270endif
271$(eval $(call add_define,RCAR_REWT_TRAINING))
272
273# Process RCAR_SYSTEM_SUSPEND flag
274ifndef RCAR_SYSTEM_SUSPEND
275RCAR_SYSTEM_SUSPEND := 1
276endif
277$(eval $(call add_define,RCAR_SYSTEM_SUSPEND))
278
279# SYSTEM_SUSPEND requires power control of PMIC etc.
280# When executing SYSTEM_SUSPEND other than Salvator-X, Salvator-XS and Ebisu,
281# processing equivalent to that implemented in PMIC_ROHM_BD9571 is necessary.
282ifeq (${RCAR_SYSTEM_SUSPEND},1)
283 ifeq (${PMIC_ROHM_BD9571},0)
284 $(error "Error: When you want RCAR_SYSTEM_SUSPEND to be enable, please also set PMIC_ROHM_BD9571 to enable.")
285 endif
286endif
287
288# Process RCAR_DRAM_LPDDR4_MEMCONF flag
289ifndef RCAR_DRAM_LPDDR4_MEMCONF
290RCAR_DRAM_LPDDR4_MEMCONF :=1
291endif
292$(eval $(call add_define,RCAR_DRAM_LPDDR4_MEMCONF))
293
294# Process RCAR_DRAM_DDR3L_MEMCONF flag
295ifndef RCAR_DRAM_DDR3L_MEMCONF
296RCAR_DRAM_DDR3L_MEMCONF :=1
297endif
298$(eval $(call add_define,RCAR_DRAM_DDR3L_MEMCONF))
299
300# Process RCAR_DRAM_DDR3L_MEMDUAL flag
301ifndef RCAR_DRAM_DDR3L_MEMDUAL
302RCAR_DRAM_DDR3L_MEMDUAL :=1
303endif
304$(eval $(call add_define,RCAR_DRAM_DDR3L_MEMDUAL))
305
306# Process RCAR_BL33_ARG0 flag
307ifdef RCAR_BL33_ARG0
308$(eval $(call add_define,RCAR_BL33_ARG0))
309endif
310
311#Process RCAR_BL2_DCACHE flag
312ifndef RCAR_BL2_DCACHE
313RCAR_BL2_DCACHE := 0
314endif
315$(eval $(call add_define,RCAR_BL2_DCACHE))
316
317# Process RCAR_DRAM_CHANNEL flag
318ifndef RCAR_DRAM_CHANNEL
319RCAR_DRAM_CHANNEL :=15
320endif
321$(eval $(call add_define,RCAR_DRAM_CHANNEL))
322
323#Process RCAR_SYSTEM_RESET_KEEPON_DDR flag
324ifndef RCAR_SYSTEM_RESET_KEEPON_DDR
325RCAR_SYSTEM_RESET_KEEPON_DDR := 0
326endif
327$(eval $(call add_define,RCAR_SYSTEM_RESET_KEEPON_DDR))
328
329# RCAR_SYSTEM_RESET_KEEPON_DDR requires power control of PMIC etc.
330# When executing SYSTEM_SUSPEND other than Salvator-X, Salvator-XS and Ebisu,
331# processing equivalent to that implemented in PMIC_ROHM_BD9571 is necessary.
332# Also, it is necessary to enable RCAR_SYSTEM_SUSPEND.
333ifeq (${RCAR_SYSTEM_RESET_KEEPON_DDR},1)
334 ifeq (${PMIC_ROHM_BD9571},0)
335 $(error "Error: When you want RCAR_SYSTEM_RESET_KEEPON_DDR to be enable, please also set PMIC_ROHM_BD9571 to enable.")
336 endif
337 ifeq (${RCAR_SYSTEM_SUSPEND},0)
338 $(error "Error: When you want RCAR_SYSTEM_RESET_KEEPON_DDR to be enable, please also set RCAR_SYSTEM_SUSPEND to enable.")
339 endif
340endif
341
342# Enable workarounds for selected Cortex-A53 erratas.
343ERRATA_A53_835769 := 1
344ERRATA_A53_843419 := 1
345ERRATA_A53_855873 := 1
346
347# Enable workarounds for selected Cortex-A57 erratas.
348ERRATA_A57_859972 := 1
349ERRATA_A57_813419 := 1
350
Jorge Ramirez-Ortiz47503d22018-09-23 09:36:52 +0200351include drivers/staging/renesas/rcar/ddr/ddr.mk
Marek Vasutd7af4952019-06-15 15:01:04 +0200352include drivers/renesas/rcar/qos/qos.mk
Jorge Ramirez-Ortiz47503d22018-09-23 09:36:52 +0200353include drivers/staging/renesas/rcar/pfc/pfc.mk
Marek Vasut93c85fc2018-10-02 20:45:18 +0200354include lib/libfdt/libfdt.mk
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200355
Antonio Nino Diaz50a4d1a2019-02-01 12:22:22 +0000356PLAT_INCLUDES := -Idrivers/staging/renesas/rcar/ddr \
Marek Vasutd7af4952019-06-15 15:01:04 +0200357 -Idrivers/renesas/rcar/qos \
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200358 -Idrivers/renesas/rcar/iic_dvfs \
359 -Idrivers/renesas/rcar/board \
Marek Vasut38ec9e52018-12-28 11:26:03 +0100360 -Idrivers/renesas/rcar/cpld/ \
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200361 -Idrivers/renesas/rcar/avs \
362 -Idrivers/renesas/rcar/delay \
363 -Idrivers/renesas/rcar/rom \
364 -Idrivers/renesas/rcar/scif \
365 -Idrivers/renesas/rcar/emmc \
366 -Idrivers/renesas/rcar/pwrc \
367 -Idrivers/renesas/rcar/io \
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200368 -Iplat/renesas/rcar/include/registers \
369 -Iplat/renesas/rcar/include \
370 -Iplat/renesas/rcar
371
Marek Vasut8ed5c5c2019-02-12 00:09:46 +0100372PLAT_BL_COMMON_SOURCES := drivers/renesas/rcar/iic_dvfs/iic_dvfs.c \
373 plat/renesas/rcar/rcar_common.c
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200374
375RCAR_GIC_SOURCES := drivers/arm/gic/common/gic_common.c \
376 drivers/arm/gic/v2/gicv2_main.c \
377 drivers/arm/gic/v2/gicv2_helpers.c \
378 plat/common/plat_gicv2.c
379
380BL2_SOURCES += ${RCAR_GIC_SOURCES} \
381 lib/cpus/aarch64/cortex_a53.S \
382 lib/cpus/aarch64/cortex_a57.S \
Marek Vasut93c85fc2018-10-02 20:45:18 +0200383 ${LIBFDT_SRCS} \
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200384 common/desc_image_load.c \
385 plat/renesas/rcar/aarch64/platform_common.c \
386 plat/renesas/rcar/aarch64/plat_helpers.S \
387 plat/renesas/rcar/bl2_interrupt_error.c \
388 plat/renesas/rcar/bl2_secure_setting.c \
389 plat/renesas/rcar/bl2_plat_setup.c \
390 plat/renesas/rcar/plat_storage.c \
391 plat/renesas/rcar/bl2_plat_mem_params_desc.c \
392 plat/renesas/rcar/plat_image_load.c \
393 plat/renesas/rcar/bl2_cpg_init.c \
394 drivers/renesas/rcar/console/rcar_printf.c \
395 drivers/renesas/rcar/scif/scif.S \
396 drivers/renesas/rcar/common.c \
397 drivers/renesas/rcar/io/io_emmcdrv.c \
398 drivers/renesas/rcar/io/io_memdrv.c \
399 drivers/renesas/rcar/io/io_rcar.c \
400 drivers/renesas/rcar/auth/auth_mod.c \
401 drivers/renesas/rcar/rpc/rpc_driver.c \
402 drivers/renesas/rcar/dma/dma_driver.c \
403 drivers/renesas/rcar/avs/avs_driver.c \
Marek Vasut1778b412018-12-26 15:57:08 +0100404 drivers/renesas/rcar/delay/micro_delay.c \
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200405 drivers/renesas/rcar/emmc/emmc_interrupt.c \
406 drivers/renesas/rcar/emmc/emmc_utility.c \
407 drivers/renesas/rcar/emmc/emmc_mount.c \
408 drivers/renesas/rcar/emmc/emmc_init.c \
409 drivers/renesas/rcar/emmc/emmc_read.c \
410 drivers/renesas/rcar/emmc/emmc_cmd.c \
411 drivers/renesas/rcar/watchdog/swdt.c \
412 drivers/renesas/rcar/rom/rom_api.c \
413 drivers/renesas/rcar/board/board.c \
414 drivers/io/io_storage.c
415
416BL31_SOURCES += ${RCAR_GIC_SOURCES} \
417 lib/cpus/aarch64/cortex_a53.S \
418 lib/cpus/aarch64/cortex_a57.S \
419 plat/common/plat_psci_common.c \
420 plat/renesas/rcar/plat_topology.c \
421 plat/renesas/rcar/aarch64/plat_helpers.S \
422 plat/renesas/rcar/aarch64/platform_common.c \
423 plat/renesas/rcar/bl31_plat_setup.c \
424 plat/renesas/rcar/plat_pm.c \
425 drivers/renesas/rcar/console/rcar_console.S \
426 drivers/renesas/rcar/console/rcar_printf.c \
Marek Vasut4bc543c2018-12-28 20:15:33 +0100427 drivers/renesas/rcar/delay/micro_delay.c \
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200428 drivers/renesas/rcar/pwrc/call_sram.S \
429 drivers/renesas/rcar/pwrc/pwrc.c \
430 drivers/renesas/rcar/common.c \
431 drivers/arm/cci/cci.c
432
433ifeq (${RCAR_GEN3_ULCB},1)
434BL31_SOURCES += drivers/renesas/rcar/cpld/ulcb_cpld.c
435endif
436
437include lib/xlat_tables_v2/xlat_tables.mk
438include drivers/auth/mbedtls/mbedtls_crypto.mk
439PLAT_BL_COMMON_SOURCES += ${XLAT_TABLES_LIB_SRCS}
440
441# build the layout images for the bootrom and the necessary srecords
442rcar: rcar_layout_tool rcar_srecord
443distclean realclean clean: clean_layout_tool clean_srecord
444
445# layout images
446LAYOUT_TOOLPATH ?= tools/renesas/rcar_layout_create
447
448clean_layout_tool:
449 @echo "clean layout tool"
450 ${Q}${MAKE} -C ${LAYOUT_TOOLPATH} clean
451
452.PHONY: rcar_layout_tool
453rcar_layout_tool:
454 @echo "generating layout srecs"
455 ${Q}${MAKE} CPPFLAGS="-D=AARCH64" --no-print-directory -C ${LAYOUT_TOOLPATH}
456
457# srecords
458SREC_PATH = ${BUILD_PLAT}
459BL2_ELF_SRC = ${SREC_PATH}/bl2/bl2.elf
460BL31_ELF_SRC = ${SREC_PATH}/bl31/bl31.elf
461
462clean_srecord:
463 @echo "clean bl2 and bl31 srecs"
464 rm -f ${SREC_PATH}/bl2.srec ${SREC_PATH}/bl31.srec
465
466.PHONY: rcar_srecord
Marek Vasut7043fce2018-12-31 19:47:37 +0100467rcar_srecord: $(BL2_ELF_SRC) $(BL31_ELF_SRC)
Jorge Ramirez-Ortizbf084dc2018-09-23 09:36:13 +0200468 @echo "generating srec: ${SREC_PATH}/bl2.srec"
469 $(Q)$(OC) -O srec --srec-forceS3 ${BL2_ELF_SRC} ${SREC_PATH}/bl2.srec
470 @echo "generating srec: ${SREC_PATH}/bl31.srec"
471 $(Q)$(OC) -O srec --srec-forceS3 ${BL31_ELF_SRC} ${SREC_PATH}/bl31.srec
472