Debian Codegraph @

plat/imx/imx7/warp7/platform.mk

raw
1 #
2 # Copyright (c) 2018-2023, ARM Limited and Contributors. All rights reserved.
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/warp7/include
12
13 BL2_SOURCES += drivers/imx/usdhc/imx_usdhc.c \
14 plat/imx/imx7/warp7/warp7_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
25 RESET_TO_BL2 := 1
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 PLAT_WARP7_UART :=1
37 $(eval $(call add_define,PLAT_WARP7_UART))