Jun Nie | d85efcf | 2019-06-13 11:47:09 +0800 | [diff] [blame] | 1 | # |
Arvind Ram Prakash | 11b9b49 | 2022-11-22 14:41:00 -0600 | [diff] [blame] | 2 | # Copyright (c) 2018-2023, ARM Limited and Contributors. All rights reserved. |
Jun Nie | d85efcf | 2019-06-13 11:47:09 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | # Include imx7 common |
| 8 | include plat/imx/imx7/common/imx7.mk |
| 9 | |
| 10 | # Platform |
| 11 | PLAT_INCLUDES += -Iplat/imx/imx7/picopi/include \ |
| 12 | |
| 13 | BL2_SOURCES += drivers/imx/usdhc/imx_usdhc.c \ |
| 14 | plat/imx/imx7/picopi/picopi_bl2_el3_setup.c \ |
| 15 | |
| 16 | # Build config flags |
| 17 | # ------------------ |
| 18 | |
| 19 | ARM_CORTEX_A7 := yes |
| 20 | WORKAROUND_CVE_2017_5715 := 0 |
| 21 | |
| 22 | RESET_TO_BL31 := 0 |
| 23 | |
| 24 | # Non-TF Boot ROM |
Arvind Ram Prakash | 11b9b49 | 2022-11-22 14:41:00 -0600 | [diff] [blame] | 25 | RESET_TO_BL2 := 1 |
Jun Nie | d85efcf | 2019-06-13 11:47:09 +0800 | [diff] [blame] | 26 | |
| 27 | # Indicate single-core |
| 28 | COLD_BOOT_SINGLE_CPU := 1 |
| 29 | |
| 30 | # Have different sections for code and rodata |
| 31 | SEPARATE_CODE_AND_RODATA := 1 |
| 32 | |
| 33 | # Use Coherent memory |
| 34 | USE_COHERENT_MEM := 1 |
| 35 | |
| 36 | # Use multi console API |
| 37 | MULTI_CONSOLE_API := 1 |
| 38 | |
| 39 | PLAT_PICOPI_UART :=5 |
| 40 | $(eval $(call add_define,PLAT_PICOPI_UART)) |