Bai Ping | 06e325e | 2018-10-28 00:12:34 +0800 | [diff] [blame] | 1 | # |
Alexei Fedorov | 2f13d6c | 2020-02-21 10:17:26 +0000 | [diff] [blame] | 2 | # Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved. |
Bai Ping | 06e325e | 2018-10-28 00:12:34 +0800 | [diff] [blame] | 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/imx8mq/include |
| 10 | |
| 11 | IMX_GIC_SOURCES := drivers/arm/gic/v3/gicv3_helpers.c \ |
Alexei Fedorov | 2f13d6c | 2020-02-21 10:17:26 +0000 | [diff] [blame] | 12 | drivers/arm/gic/v3/gicdv3_helpers.c \ |
| 13 | drivers/arm/gic/v3/gicrv3_helpers.c \ |
Bai Ping | 06e325e | 2018-10-28 00:12:34 +0800 | [diff] [blame] | 14 | drivers/arm/gic/v3/arm_gicv3_common.c \ |
| 15 | drivers/arm/gic/v3/gic500.c \ |
| 16 | drivers/arm/gic/v3/gicv3_main.c \ |
| 17 | drivers/arm/gic/common/gic_common.c \ |
| 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/imx/common/imx8_helpers.S \ |
| 23 | plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c \ |
| 24 | plat/imx/imx8m/imx8mq/imx8mq_psci.c \ |
Jacky Bai | f7dc401 | 2019-03-06 16:58:18 +0800 | [diff] [blame] | 25 | plat/imx/imx8m/gpc_common.c \ |
Jacky Bai | 91c6d32 | 2019-05-21 20:24:52 +0800 | [diff] [blame] | 26 | plat/imx/imx8m/imx_aipstz.c \ |
Jacky Bai | 3bf04a5 | 2019-06-12 17:41:47 +0800 | [diff] [blame] | 27 | plat/imx/imx8m/imx8m_caam.c \ |
Jacky Bai | f7dc401 | 2019-03-06 16:58:18 +0800 | [diff] [blame] | 28 | plat/imx/imx8m/imx8m_psci_common.c \ |
Bai Ping | 06e325e | 2018-10-28 00:12:34 +0800 | [diff] [blame] | 29 | plat/imx/imx8m/imx8mq/gpc.c \ |
| 30 | plat/imx/common/imx8_topology.c \ |
Leonard Crestez | 402bd52 | 2019-05-08 22:29:21 +0300 | [diff] [blame] | 31 | plat/imx/common/imx_sip_handler.c \ |
| 32 | plat/imx/common/imx_sip_svc.c \ |
Bai Ping | 06e325e | 2018-10-28 00:12:34 +0800 | [diff] [blame] | 33 | plat/imx/common/imx_uart_console.S \ |
| 34 | lib/xlat_tables/aarch64/xlat_tables.c \ |
| 35 | lib/xlat_tables/xlat_tables_common.c \ |
| 36 | lib/cpus/aarch64/cortex_a53.S \ |
Bai Ping | 06e325e | 2018-10-28 00:12:34 +0800 | [diff] [blame] | 37 | drivers/arm/tzc/tzc380.c \ |
Jacky Bai | f7dc401 | 2019-03-06 16:58:18 +0800 | [diff] [blame] | 38 | drivers/delay_timer/delay_timer.c \ |
| 39 | drivers/delay_timer/generic_delay_timer.c \ |
Bai Ping | 06e325e | 2018-10-28 00:12:34 +0800 | [diff] [blame] | 40 | ${IMX_GIC_SOURCES} |
| 41 | |
| 42 | USE_COHERENT_MEM := 1 |
| 43 | RESET_TO_BL31 := 1 |
| 44 | A53_DISABLE_NON_TEMPORAL_HINT := 0 |
Anson Huang | 0f03da6 | 2019-01-24 11:00:14 +0800 | [diff] [blame] | 45 | |
| 46 | ERRATA_A53_835769 := 1 |
| 47 | ERRATA_A53_843419 := 1 |
| 48 | ERRATA_A53_855873 := 1 |
Jacky Bai | 2a763ba | 2019-07-18 13:34:09 +0800 | [diff] [blame] | 49 | |
| 50 | BL32_BASE ?= 0xfe000000 |
| 51 | $(eval $(call add_define,BL32_BASE)) |
| 52 | |
| 53 | BL32_SIZE ?= 0x2000000 |
| 54 | $(eval $(call add_define,BL32_SIZE)) |