blob: ea0f001e89953b57947cfce8e4c5e2178744d898 [file] [log] [blame]
Bryan O'Donoghue38c45612018-07-27 13:50:15 +01001#
Ambroise Vincent41ef3ed2019-05-29 14:14:03 +01002# Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
Bryan O'Donoghue38c45612018-07-27 13:50:15 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Jun Nie8cfd4b52019-06-13 11:38:24 +08007# Include imx7 common
8include plat/imx/imx7/common/imx7.mk
Bryan O'Donoghue38c45612018-07-27 13:50:15 +01009
10# Platform
Jun Nie8cfd4b52019-06-13 11:38:24 +080011PLAT_INCLUDES += -Iplat/imx/imx7/warp7/include
Bryan O'Donoghue59ca2f62018-10-26 14:19:43 +010012
Jun Nie8cfd4b52019-06-13 11:38:24 +080013BL2_SOURCES += drivers/imx/usdhc/imx_usdhc.c \
14 plat/imx/imx7/warp7/warp7_bl2_el3_setup.c
Bryan O'Donoghue59ca2f62018-10-26 14:19:43 +010015
Bryan O'Donoghue38c45612018-07-27 13:50:15 +010016# Build config flags
17# ------------------
18
Jun Nie8cfd4b52019-06-13 11:38:24 +080019ARM_CORTEX_A7 := yes
Bryan O'Donoghue38c45612018-07-27 13:50:15 +010020WORKAROUND_CVE_2017_5715 := 0
21
Bryan O'Donoghue38c45612018-07-27 13:50:15 +010022RESET_TO_BL31 := 0
23
24# Non-TF Boot ROM
25BL2_AT_EL3 := 1
26
27# Indicate single-core
28COLD_BOOT_SINGLE_CPU := 1
29
30# Have different sections for code and rodata
31SEPARATE_CODE_AND_RODATA := 1
32
33# Use Coherent memory
34USE_COHERENT_MEM := 1
35
Bryan O'Donoghue38c45612018-07-27 13:50:15 +010036PLAT_WARP7_UART :=1
37$(eval $(call add_define,PLAT_WARP7_UART))