Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 1 | # |
Lad Prabhakar | 7fda4b0 | 2021-03-09 17:26:38 +0000 | [diff] [blame] | 2 | # Copyright (c) 2018-2021, Renesas Electronics Corporation. All rights reserved. |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
Biju Das | 4ec2d8f | 2020-12-16 08:57:59 +0000 | [diff] [blame] | 7 | include plat/renesas/common/common.mk |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 8 | |
| 9 | ifndef LSI |
| 10 | $(error "Error: Unknown LSI. Please use LSI=<LSI name> to specify the LSI") |
| 11 | else |
| 12 | ifeq (${LSI},AUTO) |
| 13 | RCAR_LSI:=${RCAR_AUTO} |
| 14 | else ifeq (${LSI},H3) |
| 15 | RCAR_LSI:=${RCAR_H3} |
| 16 | ifndef LSI_CUT |
| 17 | # enable compatible function. |
| 18 | RCAR_LSI_CUT_COMPAT := 1 |
| 19 | $(eval $(call add_define,RCAR_LSI_CUT_COMPAT)) |
| 20 | else |
| 21 | # disable compatible function. |
| 22 | ifeq (${LSI_CUT},10) |
| 23 | RCAR_LSI_CUT:=0 |
| 24 | else ifeq (${LSI_CUT},11) |
| 25 | RCAR_LSI_CUT:=1 |
| 26 | else ifeq (${LSI_CUT},20) |
| 27 | RCAR_LSI_CUT:=10 |
| 28 | else ifeq (${LSI_CUT},30) |
| 29 | RCAR_LSI_CUT:=20 |
| 30 | else |
| 31 | $(error "Error: ${LSI_CUT} is not supported.") |
| 32 | endif |
| 33 | $(eval $(call add_define,RCAR_LSI_CUT)) |
| 34 | endif |
| 35 | else ifeq (${LSI},H3N) |
| 36 | RCAR_LSI:=${RCAR_H3N} |
| 37 | ifndef LSI_CUT |
| 38 | # enable compatible function. |
| 39 | RCAR_LSI_CUT_COMPAT := 1 |
| 40 | $(eval $(call add_define,RCAR_LSI_CUT_COMPAT)) |
| 41 | else |
| 42 | # disable compatible function. |
| 43 | ifeq (${LSI_CUT},30) |
| 44 | RCAR_LSI_CUT:=20 |
| 45 | else |
| 46 | $(error "Error: ${LSI_CUT} is not supported.") |
| 47 | endif |
| 48 | $(eval $(call add_define,RCAR_LSI_CUT)) |
| 49 | endif |
| 50 | else ifeq (${LSI},M3) |
| 51 | RCAR_LSI:=${RCAR_M3} |
| 52 | ifndef LSI_CUT |
| 53 | # enable compatible function. |
| 54 | RCAR_LSI_CUT_COMPAT := 1 |
| 55 | $(eval $(call add_define,RCAR_LSI_CUT_COMPAT)) |
| 56 | else |
| 57 | # disable compatible function. |
| 58 | ifeq (${LSI_CUT},10) |
| 59 | RCAR_LSI_CUT:=0 |
| 60 | else ifeq (${LSI_CUT},11) |
| 61 | RCAR_LSI_CUT:=1 |
Marek Vasut | 3af2005 | 2019-02-25 14:57:08 +0100 | [diff] [blame] | 62 | else ifeq (${LSI_CUT},13) |
| 63 | RCAR_LSI_CUT:=3 |
| 64 | else ifeq (${LSI_CUT},30) |
| 65 | RCAR_LSI_CUT:=20 |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 66 | else |
| 67 | $(error "Error: ${LSI_CUT} is not supported.") |
| 68 | endif |
| 69 | $(eval $(call add_define,RCAR_LSI_CUT)) |
| 70 | endif |
| 71 | else ifeq (${LSI},M3N) |
| 72 | RCAR_LSI:=${RCAR_M3N} |
| 73 | ifndef LSI_CUT |
| 74 | # enable compatible function. |
| 75 | RCAR_LSI_CUT_COMPAT := 1 |
| 76 | $(eval $(call add_define,RCAR_LSI_CUT_COMPAT)) |
| 77 | else |
| 78 | # disable compatible function. |
| 79 | ifeq (${LSI_CUT},10) |
| 80 | RCAR_LSI_CUT:=0 |
| 81 | else ifeq (${LSI_CUT},11) |
| 82 | RCAR_LSI_CUT:=1 |
| 83 | else |
| 84 | $(error "Error: ${LSI_CUT} is not supported.") |
| 85 | endif |
| 86 | $(eval $(call add_define,RCAR_LSI_CUT)) |
| 87 | endif |
| 88 | else ifeq (${LSI},E3) |
| 89 | RCAR_LSI:=${RCAR_E3} |
| 90 | ifndef LSI_CUT |
| 91 | # enable compatible function. |
| 92 | RCAR_LSI_CUT_COMPAT := 1 |
| 93 | $(eval $(call add_define,RCAR_LSI_CUT_COMPAT)) |
| 94 | else |
| 95 | # disable compatible function. |
| 96 | ifeq (${LSI_CUT},10) |
| 97 | RCAR_LSI_CUT:=0 |
Marek Vasut | 3af2005 | 2019-02-25 14:57:08 +0100 | [diff] [blame] | 98 | else ifeq (${LSI_CUT},11) |
| 99 | RCAR_LSI_CUT:=1 |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 100 | else |
| 101 | $(error "Error: ${LSI_CUT} is not supported.") |
| 102 | endif |
| 103 | $(eval $(call add_define,RCAR_LSI_CUT)) |
| 104 | endif |
Marek Vasut | 4ae342c | 2019-01-05 13:56:03 +0100 | [diff] [blame] | 105 | else ifeq (${LSI},D3) |
| 106 | RCAR_LSI:=${RCAR_D3} |
| 107 | ifndef LSI_CUT |
| 108 | # enable compatible function. |
| 109 | RCAR_LSI_CUT_COMPAT := 1 |
| 110 | $(eval $(call add_define,RCAR_LSI_CUT_COMPAT)) |
| 111 | else |
| 112 | # disable compatible function. |
| 113 | ifeq (${LSI_CUT},10) |
| 114 | RCAR_LSI_CUT:=0 |
| 115 | else |
| 116 | $(error "Error: ${LSI_CUT} is not supported.") |
| 117 | endif |
| 118 | $(eval $(call add_define,RCAR_LSI_CUT)) |
| 119 | endif |
Valentine Barshak | f218414 | 2018-10-30 02:06:17 +0300 | [diff] [blame] | 120 | else ifeq (${LSI},V3M) |
| 121 | RCAR_LSI:=${RCAR_V3M} |
| 122 | ifndef LSI_CUT |
| 123 | # enable compatible function. |
| 124 | RCAR_LSI_CUT_COMPAT := 1 |
| 125 | $(eval $(call add_define,RCAR_LSI_CUT_COMPAT)) |
| 126 | else |
| 127 | # disable compatible function. |
| 128 | ifeq (${LSI_CUT},10) |
| 129 | RCAR_LSI_CUT:=0 |
| 130 | endif |
| 131 | ifeq (${LSI_CUT},20) |
| 132 | RCAR_LSI_CUT:=10 |
| 133 | endif |
| 134 | $(eval $(call add_define,RCAR_LSI_CUT)) |
| 135 | endif |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 136 | else |
| 137 | $(error "Error: ${LSI} is not supported.") |
| 138 | endif |
| 139 | $(eval $(call add_define,RCAR_LSI)) |
| 140 | endif |
| 141 | |
Jorge Ramirez-Ortiz | 87c0405 | 2018-11-19 19:26:56 +0100 | [diff] [blame] | 142 | # lock RPC HYPERFLASH access by default |
| 143 | # unlock to repogram the ATF firmware from u-boot |
| 144 | ifndef RCAR_RPC_HYPERFLASH_LOCKED |
| 145 | RCAR_RPC_HYPERFLASH_LOCKED := 1 |
| 146 | endif |
| 147 | $(eval $(call add_define,RCAR_RPC_HYPERFLASH_LOCKED)) |
| 148 | |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 149 | # Process RCAR_SECURE_BOOT flag |
| 150 | ifndef RCAR_SECURE_BOOT |
| 151 | RCAR_SECURE_BOOT := 1 |
| 152 | endif |
| 153 | $(eval $(call add_define,RCAR_SECURE_BOOT)) |
| 154 | |
| 155 | # Process RCAR_QOS_TYPE flag |
| 156 | ifndef RCAR_QOS_TYPE |
| 157 | RCAR_QOS_TYPE := 0 |
| 158 | endif |
| 159 | $(eval $(call add_define,RCAR_QOS_TYPE)) |
| 160 | |
| 161 | # Process RCAR_DRAM_SPLIT flag |
| 162 | ifndef RCAR_DRAM_SPLIT |
| 163 | RCAR_DRAM_SPLIT := 0 |
| 164 | endif |
| 165 | $(eval $(call add_define,RCAR_DRAM_SPLIT)) |
| 166 | |
| 167 | # Process RCAR_BL33_EXECUTION_EL flag |
| 168 | ifndef RCAR_BL33_EXECUTION_EL |
| 169 | RCAR_BL33_EXECUTION_EL := 0 |
| 170 | endif |
| 171 | $(eval $(call add_define,RCAR_BL33_EXECUTION_EL)) |
| 172 | |
| 173 | # Process RCAR_AVS_SETTING_ENABLE flag |
| 174 | ifeq (${RCAR_AVS_SETTING_ENABLE},0) |
| 175 | AVS_SETTING_ENABLE := 0 |
| 176 | else |
| 177 | AVS_SETTING_ENABLE := 1 |
| 178 | endif |
| 179 | $(eval $(call add_define,AVS_SETTING_ENABLE)) |
| 180 | |
| 181 | # Process RCAR_LOSSY_ENABLE flag |
| 182 | ifndef RCAR_LOSSY_ENABLE |
| 183 | RCAR_LOSSY_ENABLE := 0 |
| 184 | endif |
| 185 | $(eval $(call add_define,RCAR_LOSSY_ENABLE)) |
| 186 | |
| 187 | # Process LIFEC_DBSC_PROTECT_ENABLE flag |
| 188 | ifndef LIFEC_DBSC_PROTECT_ENABLE |
| 189 | LIFEC_DBSC_PROTECT_ENABLE := 1 |
| 190 | endif |
| 191 | $(eval $(call add_define,LIFEC_DBSC_PROTECT_ENABLE)) |
| 192 | |
| 193 | # Process PMIC_ROHM_BD9571 flag |
| 194 | ifndef PMIC_ROHM_BD9571 |
| 195 | PMIC_ROHM_BD9571 := 1 |
| 196 | endif |
| 197 | $(eval $(call add_define,PMIC_ROHM_BD9571)) |
| 198 | |
| 199 | # Process PMIC_LEVEL_MODE flag |
| 200 | ifndef PMIC_LEVEL_MODE |
| 201 | PMIC_LEVEL_MODE := 1 |
| 202 | endif |
| 203 | $(eval $(call add_define,PMIC_LEVEL_MODE)) |
| 204 | |
| 205 | # Process RCAR_GEN3_ULCB flag |
| 206 | ifndef RCAR_GEN3_ULCB |
| 207 | RCAR_GEN3_ULCB := 0 |
| 208 | endif |
| 209 | ifeq (${RCAR_GEN3_ULCB},1) |
| 210 | BOARD_DEFAULT := 0x10 |
| 211 | $(eval $(call add_define,BOARD_DEFAULT)) |
| 212 | endif |
| 213 | $(eval $(call add_define,RCAR_GEN3_ULCB)) |
| 214 | |
| 215 | # Process RCAR_REF_INT flag |
| 216 | ifndef RCAR_REF_INT |
| 217 | RCAR_REF_INT :=0 |
| 218 | endif |
| 219 | $(eval $(call add_define,RCAR_REF_INT)) |
| 220 | |
| 221 | # Process RCAR_REWT_TRAINING flag |
| 222 | ifndef RCAR_REWT_TRAINING |
Toshiyuki Ogasahara | 040966b | 2019-03-11 15:03:00 +0900 | [diff] [blame] | 223 | RCAR_REWT_TRAINING := 1 |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 224 | endif |
| 225 | $(eval $(call add_define,RCAR_REWT_TRAINING)) |
| 226 | |
| 227 | # Process RCAR_SYSTEM_SUSPEND flag |
| 228 | ifndef RCAR_SYSTEM_SUSPEND |
| 229 | RCAR_SYSTEM_SUSPEND := 1 |
| 230 | endif |
| 231 | $(eval $(call add_define,RCAR_SYSTEM_SUSPEND)) |
| 232 | |
| 233 | # SYSTEM_SUSPEND requires power control of PMIC etc. |
| 234 | # When executing SYSTEM_SUSPEND other than Salvator-X, Salvator-XS and Ebisu, |
| 235 | # processing equivalent to that implemented in PMIC_ROHM_BD9571 is necessary. |
| 236 | ifeq (${RCAR_SYSTEM_SUSPEND},1) |
| 237 | ifeq (${PMIC_ROHM_BD9571},0) |
| 238 | $(error "Error: When you want RCAR_SYSTEM_SUSPEND to be enable, please also set PMIC_ROHM_BD9571 to enable.") |
| 239 | endif |
| 240 | endif |
| 241 | |
| 242 | # Process RCAR_DRAM_LPDDR4_MEMCONF flag |
| 243 | ifndef RCAR_DRAM_LPDDR4_MEMCONF |
| 244 | RCAR_DRAM_LPDDR4_MEMCONF :=1 |
| 245 | endif |
| 246 | $(eval $(call add_define,RCAR_DRAM_LPDDR4_MEMCONF)) |
| 247 | |
Toshiyuki Ogasahara | debafb8 | 2020-11-30 14:52:19 +0900 | [diff] [blame] | 248 | # Process RCAR_DRAM_MEMRANK flag |
| 249 | ifndef RCAR_DRAM_MEMRANK |
| 250 | RCAR_DRAM_MEMRANK :=0 |
| 251 | endif |
| 252 | $(eval $(call add_define,RCAR_DRAM_MEMRANK)) |
| 253 | |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 254 | # Process RCAR_DRAM_DDR3L_MEMCONF flag |
| 255 | ifndef RCAR_DRAM_DDR3L_MEMCONF |
| 256 | RCAR_DRAM_DDR3L_MEMCONF :=1 |
| 257 | endif |
| 258 | $(eval $(call add_define,RCAR_DRAM_DDR3L_MEMCONF)) |
| 259 | |
| 260 | # Process RCAR_DRAM_DDR3L_MEMDUAL flag |
| 261 | ifndef RCAR_DRAM_DDR3L_MEMDUAL |
| 262 | RCAR_DRAM_DDR3L_MEMDUAL :=1 |
| 263 | endif |
| 264 | $(eval $(call add_define,RCAR_DRAM_DDR3L_MEMDUAL)) |
| 265 | |
| 266 | # Process RCAR_BL33_ARG0 flag |
| 267 | ifdef RCAR_BL33_ARG0 |
| 268 | $(eval $(call add_define,RCAR_BL33_ARG0)) |
| 269 | endif |
| 270 | |
| 271 | #Process RCAR_BL2_DCACHE flag |
| 272 | ifndef RCAR_BL2_DCACHE |
| 273 | RCAR_BL2_DCACHE := 0 |
| 274 | endif |
| 275 | $(eval $(call add_define,RCAR_BL2_DCACHE)) |
| 276 | |
| 277 | # Process RCAR_DRAM_CHANNEL flag |
| 278 | ifndef RCAR_DRAM_CHANNEL |
| 279 | RCAR_DRAM_CHANNEL :=15 |
| 280 | endif |
| 281 | $(eval $(call add_define,RCAR_DRAM_CHANNEL)) |
| 282 | |
| 283 | #Process RCAR_SYSTEM_RESET_KEEPON_DDR flag |
| 284 | ifndef RCAR_SYSTEM_RESET_KEEPON_DDR |
| 285 | RCAR_SYSTEM_RESET_KEEPON_DDR := 0 |
| 286 | endif |
| 287 | $(eval $(call add_define,RCAR_SYSTEM_RESET_KEEPON_DDR)) |
| 288 | |
Marek Vasut | b25ee35 | 2021-02-13 19:09:29 +0100 | [diff] [blame] | 289 | ifndef RCAR_GEN3_BL33_GZIP |
| 290 | RCAR_GEN3_BL33_GZIP := 0 |
| 291 | endif |
| 292 | $(eval $(call add_define,RCAR_GEN3_BL33_GZIP)) |
| 293 | |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 294 | # RCAR_SYSTEM_RESET_KEEPON_DDR requires power control of PMIC etc. |
| 295 | # When executing SYSTEM_SUSPEND other than Salvator-X, Salvator-XS and Ebisu, |
| 296 | # processing equivalent to that implemented in PMIC_ROHM_BD9571 is necessary. |
| 297 | # Also, it is necessary to enable RCAR_SYSTEM_SUSPEND. |
| 298 | ifeq (${RCAR_SYSTEM_RESET_KEEPON_DDR},1) |
| 299 | ifeq (${PMIC_ROHM_BD9571},0) |
| 300 | $(error "Error: When you want RCAR_SYSTEM_RESET_KEEPON_DDR to be enable, please also set PMIC_ROHM_BD9571 to enable.") |
| 301 | endif |
| 302 | ifeq (${RCAR_SYSTEM_SUSPEND},0) |
| 303 | $(error "Error: When you want RCAR_SYSTEM_RESET_KEEPON_DDR to be enable, please also set RCAR_SYSTEM_SUSPEND to enable.") |
| 304 | endif |
| 305 | endif |
| 306 | |
Lad Prabhakar | 7fda4b0 | 2021-03-09 17:26:38 +0000 | [diff] [blame] | 307 | include drivers/renesas/common/ddr/ddr.mk |
Marek Vasut | d7af495 | 2019-06-15 15:01:04 +0200 | [diff] [blame] | 308 | include drivers/renesas/rcar/qos/qos.mk |
Marek Vasut | b4bd242 | 2019-06-17 19:29:03 +0200 | [diff] [blame] | 309 | include drivers/renesas/rcar/pfc/pfc.mk |
Marek Vasut | 93c85fc | 2018-10-02 20:45:18 +0200 | [diff] [blame] | 310 | include lib/libfdt/libfdt.mk |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 311 | |
Lad Prabhakar | 7fda4b0 | 2021-03-09 17:26:38 +0000 | [diff] [blame] | 312 | PLAT_INCLUDES += -Idrivers/renesas/common/ddr \ |
Marek Vasut | d7af495 | 2019-06-15 15:01:04 +0200 | [diff] [blame] | 313 | -Idrivers/renesas/rcar/qos \ |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 314 | -Idrivers/renesas/rcar/board \ |
Marek Vasut | 38ec9e5 | 2018-12-28 11:26:03 +0100 | [diff] [blame] | 315 | -Idrivers/renesas/rcar/cpld/ \ |
Biju Das | a7d9c7d | 2020-12-16 11:53:59 +0000 | [diff] [blame] | 316 | -Idrivers/renesas/common \ |
Biju Das | 5cd4e33 | 2020-12-16 09:43:41 +0000 | [diff] [blame] | 317 | -Idrivers/renesas/common/iic_dvfs \ |
Biju Das | 0520cdf | 2020-12-16 11:13:06 +0000 | [diff] [blame] | 318 | -Idrivers/renesas/common/avs \ |
Biju Das | ee13d8f | 2020-12-16 10:46:36 +0000 | [diff] [blame] | 319 | -Idrivers/renesas/common/delay \ |
Biju Das | 907c865 | 2020-12-16 10:56:03 +0000 | [diff] [blame] | 320 | -Idrivers/renesas/common/rom \ |
Biju Das | 73e52b8 | 2020-12-16 10:36:17 +0000 | [diff] [blame] | 321 | -Idrivers/renesas/common/scif \ |
Biju Das | 4c32559 | 2020-12-16 09:53:19 +0000 | [diff] [blame] | 322 | -Idrivers/renesas/common/emmc \ |
Biju Das | 112cc42 | 2020-12-16 10:27:45 +0000 | [diff] [blame] | 323 | -Idrivers/renesas/common/pwrc \ |
Biju Das | 030163c | 2020-12-16 10:05:41 +0000 | [diff] [blame] | 324 | -Idrivers/renesas/common/io |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 325 | |
Biju Das | 4580328 | 2020-12-16 11:28:07 +0000 | [diff] [blame] | 326 | BL2_SOURCES += plat/renesas/rcar/bl2_plat_setup.c \ |
Biju Das | 4ec2d8f | 2020-12-16 08:57:59 +0000 | [diff] [blame] | 327 | drivers/renesas/rcar/board/board.c |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 328 | |
Marek Vasut | b25ee35 | 2021-02-13 19:09:29 +0100 | [diff] [blame] | 329 | ifeq (${RCAR_GEN3_BL33_GZIP},1) |
| 330 | include lib/zlib/zlib.mk |
| 331 | |
| 332 | BL2_SOURCES += common/image_decompress.c \ |
| 333 | $(ZLIB_SOURCES) |
| 334 | endif |
| 335 | |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 336 | ifeq (${RCAR_GEN3_ULCB},1) |
| 337 | BL31_SOURCES += drivers/renesas/rcar/cpld/ulcb_cpld.c |
| 338 | endif |
| 339 | |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 340 | # build the layout images for the bootrom and the necessary srecords |
| 341 | rcar: rcar_layout_tool rcar_srecord |
| 342 | distclean realclean clean: clean_layout_tool clean_srecord |
| 343 | |
| 344 | # layout images |
| 345 | LAYOUT_TOOLPATH ?= tools/renesas/rcar_layout_create |
| 346 | |
| 347 | clean_layout_tool: |
| 348 | @echo "clean layout tool" |
| 349 | ${Q}${MAKE} -C ${LAYOUT_TOOLPATH} clean |
| 350 | |
| 351 | .PHONY: rcar_layout_tool |
| 352 | rcar_layout_tool: |
| 353 | @echo "generating layout srecs" |
| 354 | ${Q}${MAKE} CPPFLAGS="-D=AARCH64" --no-print-directory -C ${LAYOUT_TOOLPATH} |
| 355 | |
| 356 | # srecords |
| 357 | SREC_PATH = ${BUILD_PLAT} |
| 358 | BL2_ELF_SRC = ${SREC_PATH}/bl2/bl2.elf |
| 359 | BL31_ELF_SRC = ${SREC_PATH}/bl31/bl31.elf |
| 360 | |
| 361 | clean_srecord: |
| 362 | @echo "clean bl2 and bl31 srecs" |
| 363 | rm -f ${SREC_PATH}/bl2.srec ${SREC_PATH}/bl31.srec |
| 364 | |
| 365 | .PHONY: rcar_srecord |
Marek Vasut | 7043fce | 2018-12-31 19:47:37 +0100 | [diff] [blame] | 366 | rcar_srecord: $(BL2_ELF_SRC) $(BL31_ELF_SRC) |
Jorge Ramirez-Ortiz | bf084dc | 2018-09-23 09:36:13 +0200 | [diff] [blame] | 367 | @echo "generating srec: ${SREC_PATH}/bl2.srec" |
| 368 | $(Q)$(OC) -O srec --srec-forceS3 ${BL2_ELF_SRC} ${SREC_PATH}/bl2.srec |
| 369 | @echo "generating srec: ${SREC_PATH}/bl31.srec" |
| 370 | $(Q)$(OC) -O srec --srec-forceS3 ${BL31_ELF_SRC} ${SREC_PATH}/bl31.srec |
| 371 | |