Jacky Bai | 8e2109d | 2023-05-25 09:35:44 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2022-2023 NXP |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | PLAT_INCLUDES := -Iplat/imx/common/include \ |
| 8 | -Iplat/imx/imx93/include \ |
| 9 | # Translation tables library |
| 10 | include lib/xlat_tables_v2/xlat_tables.mk |
| 11 | |
| 12 | GICV3_SUPPORT_GIC600 := 1 |
| 13 | |
| 14 | # Include GICv3 driver files |
| 15 | include drivers/arm/gic/v3/gicv3.mk |
| 16 | |
| 17 | IMX_GIC_SOURCES := ${GICV3_SOURCES} \ |
| 18 | plat/common/plat_gicv3.c \ |
| 19 | plat/common/plat_psci_common.c \ |
| 20 | plat/imx/common/plat_imx8_gic.c |
| 21 | |
| 22 | BL31_SOURCES += plat/common/aarch64/crash_console_helpers.S \ |
| 23 | plat/imx/imx93/aarch64/plat_helpers.S \ |
| 24 | plat/imx/imx93/plat_topology.c \ |
| 25 | plat/imx/common/lpuart_console.S \ |
| 26 | plat/imx/imx93/trdc.c \ |
| 27 | plat/imx/imx93/pwr_ctrl.c \ |
| 28 | plat/imx/imx93/imx93_bl31_setup.c \ |
| 29 | plat/imx/imx93/imx93_psci.c \ |
| 30 | lib/cpus/aarch64/cortex_a55.S \ |
| 31 | drivers/delay_timer/delay_timer.c \ |
| 32 | drivers/delay_timer/generic_delay_timer.c \ |
| 33 | drivers/nxp/trdc/imx_trdc.c \ |
| 34 | ${IMX_GIC_SOURCES} \ |
| 35 | ${XLAT_TABLES_LIB_SRCS} |
| 36 | |
| 37 | RESET_TO_BL31 := 1 |
| 38 | HW_ASSISTED_COHERENCY := 1 |
| 39 | USE_COHERENT_MEM := 0 |
| 40 | PROGRAMMABLE_RESET_ADDRESS := 1 |
| 41 | COLD_BOOT_SINGLE_CPU := 1 |
Clement Faure | a9ec0a2 | 2022-05-31 17:02:26 +0200 | [diff] [blame] | 42 | |
| 43 | BL32_BASE ?= 0x96000000 |
| 44 | BL32_SIZE ?= 0x02000000 |
| 45 | $(eval $(call add_define,BL32_BASE)) |
| 46 | $(eval $(call add_define,BL32_SIZE)) |