Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 1 | # |
Alexei Fedorov | 2f13d6c | 2020-02-21 10:17:26 +0000 | [diff] [blame] | 2 | # Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved. |
Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | PLAT_INCLUDES := -Iplat/imx/imx8qm/include \ |
| 8 | -Iplat/imx/common/include \ |
| 9 | |
| 10 | IMX_GIC_SOURCES := drivers/arm/gic/v3/gicv3_helpers.c \ |
Alexei Fedorov | 2f13d6c | 2020-02-21 10:17:26 +0000 | [diff] [blame] | 11 | drivers/arm/gic/v3/gicdv3_helpers.c \ |
| 12 | drivers/arm/gic/v3/gicrv3_helpers.c \ |
Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 13 | drivers/arm/gic/v3/arm_gicv3_common.c \ |
| 14 | drivers/arm/gic/v3/gic500.c \ |
| 15 | drivers/arm/gic/v3/gicv3_main.c \ |
| 16 | drivers/arm/gic/common/gic_common.c \ |
| 17 | plat/common/plat_gicv3.c \ |
| 18 | plat/common/plat_psci_common.c \ |
| 19 | plat/imx/common/plat_imx8_gic.c |
| 20 | |
| 21 | BL31_SOURCES += plat/imx/common/lpuart_console.S \ |
| 22 | plat/imx/common/imx8_helpers.S \ |
| 23 | plat/imx/imx8qm/imx8qm_bl31_setup.c \ |
| 24 | plat/imx/imx8qm/imx8qm_psci.c \ |
| 25 | plat/imx/common/imx8_topology.c \ |
Anson Huang | 344cbce | 2018-07-12 14:26:07 +0800 | [diff] [blame] | 26 | plat/imx/common/imx8_psci.c \ |
Anson Huang | f753d46 | 2019-01-15 10:34:04 +0800 | [diff] [blame] | 27 | plat/imx/common/imx_sip_svc.c \ |
| 28 | plat/imx/common/imx_sip_handler.c \ |
Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 29 | lib/xlat_tables/aarch64/xlat_tables.c \ |
| 30 | lib/xlat_tables/xlat_tables_common.c \ |
| 31 | lib/cpus/aarch64/cortex_a53.S \ |
| 32 | lib/cpus/aarch64/cortex_a72.S \ |
Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 33 | drivers/arm/cci/cci.c \ |
| 34 | ${IMX_GIC_SOURCES} \ |
| 35 | |
| 36 | include plat/imx/common/sci/sci_api.mk |
| 37 | |
Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 38 | USE_COHERENT_MEM := 1 |
| 39 | RESET_TO_BL31 := 1 |
Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 40 | A53_DISABLE_NON_TEMPORAL_HINT := 0 |
Anson Huang | 62f8f7a | 2018-06-11 12:54:05 +0800 | [diff] [blame] | 41 | ERRATA_A72_859971 := 1 |
Anson Huang | 2f38c13 | 2019-01-24 10:58:58 +0800 | [diff] [blame] | 42 | |
| 43 | ERRATA_A53_835769 := 1 |
| 44 | ERRATA_A53_843419 := 1 |
| 45 | ERRATA_A53_855873 := 1 |
Igor Opaniuk | fd43285 | 2020-03-16 22:55:42 +0200 | [diff] [blame] | 46 | |
| 47 | IMX_DEBUG_UART ?= 0 |
| 48 | $(eval $(call add_define,IMX_USE_UART${IMX_DEBUG_UART})) |
| 49 | |
| 50 | DEBUG_CONSOLE ?= 0 |
| 51 | $(eval $(call add_define,DEBUG_CONSOLE)) |