mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 14:25:44 +00:00

spd trusty requires memory dynamic mapping feature to be enabled, so we have to use xlat table library v2 instead of v1. Signed-off-by: Ji Luo <ji.luo@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: I2813af9c7878b1fc2a59e27619c5b643af6a1e91
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
#
|
|
# Copyright (c) 2015-2022, ARM Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# Translation tables library
|
|
include lib/xlat_tables_v2/xlat_tables.mk
|
|
|
|
PLAT_INCLUDES := -Iplat/imx/imx8qx/include \
|
|
-Iplat/imx/common/include \
|
|
|
|
# Include GICv3 driver files
|
|
include drivers/arm/gic/v3/gicv3.mk
|
|
|
|
IMX_GIC_SOURCES := ${GICV3_SOURCES} \
|
|
plat/common/plat_gicv3.c \
|
|
plat/imx/common/plat_imx8_gic.c
|
|
|
|
BL31_SOURCES += plat/imx/common/lpuart_console.S \
|
|
plat/imx/common/imx8_helpers.S \
|
|
plat/imx/imx8qx/imx8qx_bl31_setup.c \
|
|
plat/imx/imx8qx/imx8qx_psci.c \
|
|
plat/imx/common/imx8_topology.c \
|
|
plat/imx/common/imx8_psci.c \
|
|
plat/imx/common/imx_sip_svc.c \
|
|
plat/imx/common/imx_sip_handler.c \
|
|
plat/common/plat_psci_common.c \
|
|
lib/cpus/aarch64/cortex_a35.S \
|
|
${XLAT_TABLES_LIB_SRCS} \
|
|
${IMX_GIC_SOURCES} \
|
|
|
|
include plat/imx/common/sci/sci_api.mk
|
|
|
|
USE_COHERENT_MEM := 1
|
|
RESET_TO_BL31 := 1
|
|
|
|
IMX_DEBUG_UART ?= 0
|
|
$(eval $(call add_define,IMX_USE_UART${IMX_DEBUG_UART}))
|
|
|
|
DEBUG_CONSOLE ?= 0
|
|
$(eval $(call add_define,DEBUG_CONSOLE))
|