Jacky Bai | a617700 | 2019-03-06 17:15:06 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | PLAT_INCLUDES := -Iplat/imx/common/include \ |
| 8 | -Iplat/imx/imx8m/include \ |
| 9 | -Iplat/imx/imx8m/imx8mm/include |
| 10 | |
| 11 | IMX_GIC_SOURCES := drivers/arm/gic/v3/gicv3_helpers.c \ |
| 12 | drivers/arm/gic/v3/arm_gicv3_common.c \ |
| 13 | drivers/arm/gic/v3/gic500.c \ |
| 14 | drivers/arm/gic/v3/gicv3_main.c \ |
| 15 | drivers/arm/gic/common/gic_common.c \ |
| 16 | plat/common/plat_gicv3.c \ |
| 17 | plat/common/plat_psci_common.c \ |
| 18 | plat/imx/common/plat_imx8_gic.c |
| 19 | |
| 20 | BL31_SOURCES += plat/imx/common/imx8_helpers.S \ |
| 21 | plat/imx/imx8m/gpc_common.c \ |
Jacky Bai | 91c6d32 | 2019-05-21 20:24:52 +0800 | [diff] [blame] | 22 | plat/imx/imx8m/imx_aipstz.c \ |
Jacky Bai | 64130a3 | 2019-07-18 13:43:17 +0800 | [diff] [blame] | 23 | plat/imx/imx8m/imx_rdc.c \ |
Jacky Bai | 3bf04a5 | 2019-06-12 17:41:47 +0800 | [diff] [blame] | 24 | plat/imx/imx8m/imx8m_caam.c \ |
Jacky Bai | a617700 | 2019-03-06 17:15:06 +0800 | [diff] [blame] | 25 | plat/imx/imx8m/imx8m_psci_common.c \ |
| 26 | plat/imx/imx8m/imx8mm/imx8mm_bl31_setup.c \ |
| 27 | plat/imx/imx8m/imx8mm/imx8mm_psci.c \ |
| 28 | plat/imx/imx8m/imx8mm/gpc.c \ |
| 29 | plat/imx/common/imx8_topology.c \ |
Leonard Crestez | 402bd52 | 2019-05-08 22:29:21 +0300 | [diff] [blame] | 30 | plat/imx/common/imx_sip_handler.c \ |
| 31 | plat/imx/common/imx_sip_svc.c \ |
Jacky Bai | a617700 | 2019-03-06 17:15:06 +0800 | [diff] [blame] | 32 | plat/imx/common/imx_uart_console.S \ |
| 33 | lib/xlat_tables/aarch64/xlat_tables.c \ |
| 34 | lib/xlat_tables/xlat_tables_common.c \ |
| 35 | lib/cpus/aarch64/cortex_a53.S \ |
Jacky Bai | a617700 | 2019-03-06 17:15:06 +0800 | [diff] [blame] | 36 | drivers/arm/tzc/tzc380.c \ |
| 37 | drivers/delay_timer/delay_timer.c \ |
| 38 | drivers/delay_timer/generic_delay_timer.c \ |
| 39 | ${IMX_GIC_SOURCES} |
| 40 | |
| 41 | USE_COHERENT_MEM := 1 |
| 42 | RESET_TO_BL31 := 1 |
| 43 | A53_DISABLE_NON_TEMPORAL_HINT := 0 |
Jacky Bai | a617700 | 2019-03-06 17:15:06 +0800 | [diff] [blame] | 44 | |
| 45 | ERRATA_A53_835769 := 1 |
| 46 | ERRATA_A53_843419 := 1 |
| 47 | ERRATA_A53_855873 := 1 |
Jacky Bai | 2a763ba | 2019-07-18 13:34:09 +0800 | [diff] [blame] | 48 | |
| 49 | BL32_BASE ?= 0xbe000000 |
| 50 | $(eval $(call add_define,BL32_BASE)) |
| 51 | |
| 52 | BL32_SIZE ?= 0x2000000 |
| 53 | $(eval $(call add_define,BL32_SIZE)) |