blob: 0267a8b25c291db5fb9fdf740a9d1f965a138156 [file] [log] [blame]
Jun Nied85efcf2019-06-13 11:47:09 +08001#
Arvind Ram Prakash11b9b492022-11-22 14:41:00 -06002# Copyright (c) 2018-2023, ARM Limited and Contributors. All rights reserved.
Jun Nied85efcf2019-06-13 11:47:09 +08003#
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
Arvind Ram Prakash11b9b492022-11-22 14:41:00 -060025RESET_TO_BL2 := 1
Jun Nied85efcf2019-06-13 11:47:09 +080026
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))