blob: 5901001eb30d68dcbbc3f9eec018c6ea7fe9fd3a [file] [log] [blame]
Jun Nied85efcf2019-06-13 11:47:09 +08001#
2# Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7# Include imx7 common
8include plat/imx/imx7/common/imx7.mk
9
10# Platform
11PLAT_INCLUDES += -Iplat/imx/imx7/picopi/include \
12
13BL2_SOURCES += drivers/imx/usdhc/imx_usdhc.c \
14 plat/imx/imx7/picopi/picopi_bl2_el3_setup.c \
15
16# Build config flags
17# ------------------
18
19ARM_CORTEX_A7 := yes
20WORKAROUND_CVE_2017_5715 := 0
21
22RESET_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
36# Use multi console API
37MULTI_CONSOLE_API := 1
38
39PLAT_PICOPI_UART :=5
40$(eval $(call add_define,PLAT_PICOPI_UART))