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

Optionally take params from BL2 to offer more flexibility to BL2 on where and if a BL32 image is expected. This uses imx_bl31_params_parse() to check if arg0 can safely be accessed as a pointer and actually contains a bl_params_t structure. If not, the hardcoded parameter values are used as before. Change-Id: Iec885405efd31a6bf6c0e6c532f8d2f31c023333 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
#
|
|
# Copyright 2022-2023 NXP
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
PLAT_INCLUDES := -Iplat/imx/common/include \
|
|
-Iplat/imx/imx93/include \
|
|
# Translation tables library
|
|
include lib/xlat_tables_v2/xlat_tables.mk
|
|
|
|
GICV3_SUPPORT_GIC600 := 1
|
|
|
|
# Include GICv3 driver files
|
|
include drivers/arm/gic/v3/gicv3.mk
|
|
|
|
IMX_GIC_SOURCES := ${GICV3_SOURCES} \
|
|
plat/common/plat_gicv3.c \
|
|
plat/common/plat_psci_common.c \
|
|
plat/imx/common/plat_imx8_gic.c
|
|
|
|
BL31_SOURCES += common/desc_image_load.c \
|
|
plat/common/aarch64/crash_console_helpers.S \
|
|
plat/imx/imx93/aarch64/plat_helpers.S \
|
|
plat/imx/imx93/plat_topology.c \
|
|
plat/imx/common/imx_common.c \
|
|
plat/imx/common/lpuart_console.S \
|
|
plat/imx/imx93/trdc.c \
|
|
plat/imx/imx93/pwr_ctrl.c \
|
|
plat/imx/imx93/imx93_bl31_setup.c \
|
|
plat/imx/imx93/imx93_psci.c \
|
|
lib/cpus/aarch64/cortex_a55.S \
|
|
drivers/delay_timer/delay_timer.c \
|
|
drivers/delay_timer/generic_delay_timer.c \
|
|
drivers/nxp/trdc/imx_trdc.c \
|
|
${IMX_GIC_SOURCES} \
|
|
${XLAT_TABLES_LIB_SRCS}
|
|
|
|
RESET_TO_BL31 := 1
|
|
HW_ASSISTED_COHERENCY := 1
|
|
USE_COHERENT_MEM := 0
|
|
PROGRAMMABLE_RESET_ADDRESS := 1
|
|
COLD_BOOT_SINGLE_CPU := 1
|
|
|
|
BL32_BASE ?= 0x96000000
|
|
BL32_SIZE ?= 0x02000000
|
|
$(eval $(call add_define,BL32_BASE))
|
|
$(eval $(call add_define,BL32_SIZE))
|