Sieu Mun Tang | 8881ad0 | 2022-03-07 12:04:59 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2020-2022, Intel Corporation. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | PLAT_INCLUDES := \ |
| 8 | -Iplat/intel/soc/n5x/include/ \ |
| 9 | -Iplat/intel/soc/common/drivers/ \ |
| 10 | -Iplat/intel/soc/common/include/ |
| 11 | |
| 12 | # Include GICv2 driver files |
| 13 | include drivers/arm/gic/v2/gicv2.mk |
| 14 | DM_GICv2_SOURCES := \ |
| 15 | ${GICV2_SOURCES} \ |
| 16 | plat/common/plat_gicv2.c |
| 17 | |
| 18 | |
| 19 | PLAT_BL_COMMON_SOURCES := \ |
| 20 | ${DM_GICv2_SOURCES} \ |
| 21 | drivers/delay_timer/delay_timer.c \ |
| 22 | drivers/delay_timer/generic_delay_timer.c \ |
| 23 | drivers/ti/uart/aarch64/16550_console.S \ |
| 24 | lib/xlat_tables/aarch64/xlat_tables.c \ |
| 25 | lib/xlat_tables/xlat_tables_common.c \ |
| 26 | plat/intel/soc/common/aarch64/platform_common.c \ |
| 27 | plat/intel/soc/common/aarch64/plat_helpers.S \ |
Boon Khai Ng | 1e5550b | 2021-05-21 22:56:37 +0800 | [diff] [blame] | 28 | plat/intel/soc/common/socfpga_delay_timer.c \ |
| 29 | plat/intel/soc/common/drivers/ccu/ncore_ccu.c |
Sieu Mun Tang | 8881ad0 | 2022-03-07 12:04:59 +0800 | [diff] [blame] | 30 | |
| 31 | BL2_SOURCES += |
| 32 | |
| 33 | BL31_SOURCES += \ |
| 34 | drivers/arm/cci/cci.c \ |
| 35 | lib/cpus/aarch64/aem_generic.S \ |
| 36 | lib/cpus/aarch64/cortex_a53.S \ |
| 37 | plat/common/plat_psci_common.c \ |
| 38 | plat/intel/soc/n5x/bl31_plat_setup.c \ |
| 39 | plat/intel/soc/common/socfpga_psci.c \ |
| 40 | plat/intel/soc/common/socfpga_sip_svc.c \ |
Sieu Mun Tang | 044ed48 | 2022-05-11 10:45:19 +0800 | [diff] [blame] | 41 | plat/intel/soc/common/socfpga_sip_svc_v2.c \ |
Sieu Mun Tang | 8881ad0 | 2022-03-07 12:04:59 +0800 | [diff] [blame] | 42 | plat/intel/soc/common/socfpga_topology.c \ |
Sieu Mun Tang | dbcc2cf | 2022-03-07 12:13:04 +0800 | [diff] [blame] | 43 | plat/intel/soc/common/sip/socfpga_sip_ecc.c \ |
Sieu Mun Tang | 8881ad0 | 2022-03-07 12:04:59 +0800 | [diff] [blame] | 44 | plat/intel/soc/common/sip/socfpga_sip_fcs.c \ |
| 45 | plat/intel/soc/common/soc/socfpga_mailbox.c \ |
| 46 | plat/intel/soc/common/soc/socfpga_reset_manager.c |
| 47 | |
| 48 | PROGRAMMABLE_RESET_ADDRESS := 0 |
Arvind Ram Prakash | 11b9b49 | 2022-11-22 14:41:00 -0600 | [diff] [blame] | 49 | RESET_TO_BL2 := 1 |
Sieu Mun Tang | 8881ad0 | 2022-03-07 12:04:59 +0800 | [diff] [blame] | 50 | BL2_INV_DCACHE := 0 |
| 51 | MULTI_CONSOLE_API := 1 |
Sieu Mun Tang | 8881ad0 | 2022-03-07 12:04:59 +0800 | [diff] [blame] | 52 | USE_COHERENT_MEM := 1 |