1# 2# Copyright (c) 2019-2020, ARM Limited and Contributors. All rights reserved. 3# Copyright (c) 2019-2020, Intel Corporation. All rights reserved. 4# 5# SPDX-License-Identifier: BSD-3-Clause 6# 7 8PLAT_INCLUDES := \ 9 -Iplat/intel/soc/stratix10/include/ \ 10 -Iplat/intel/soc/common/drivers/ \ 11 -Iplat/intel/soc/common/include/ 12 13# Include GICv2 driver files 14include drivers/arm/gic/v2/gicv2.mk 15AGX_GICv2_SOURCES := \ 16 ${GICV2_SOURCES} \ 17 plat/common/plat_gicv2.c 18 19 20PLAT_BL_COMMON_SOURCES := \ 21 ${AGX_GICv2_SOURCES} \ 22 drivers/delay_timer/delay_timer.c \ 23 drivers/delay_timer/generic_delay_timer.c \ 24 drivers/ti/uart/aarch64/16550_console.S \ 25 lib/xlat_tables/aarch64/xlat_tables.c \ 26 lib/xlat_tables/xlat_tables_common.c \ 27 plat/intel/soc/common/aarch64/platform_common.c \ 28 plat/intel/soc/common/aarch64/plat_helpers.S \ 29 plat/intel/soc/common/socfpga_delay_timer.c 30 31BL2_SOURCES += \ 32 common/desc_image_load.c \ 33 drivers/mmc/mmc.c \ 34 drivers/intel/soc/stratix10/io/s10_memmap_qspi.c \ 35 drivers/io/io_storage.c \ 36 drivers/io/io_block.c \ 37 drivers/io/io_fip.c \ 38 drivers/partition/partition.c \ 39 drivers/partition/gpt.c \ 40 drivers/synopsys/emmc/dw_mmc.c \ 41 lib/cpus/aarch64/cortex_a53.S \ 42 plat/intel/soc/stratix10/bl2_plat_setup.c \ 43 plat/intel/soc/stratix10/soc/s10_clock_manager.c \ 44 plat/intel/soc/stratix10/soc/s10_memory_controller.c \ 45 plat/intel/soc/stratix10/soc/s10_pinmux.c \ 46 plat/intel/soc/common/bl2_plat_mem_params_desc.c \ 47 plat/intel/soc/common/socfpga_image_load.c \ 48 plat/intel/soc/common/socfpga_storage.c \ 49 plat/intel/soc/common/soc/socfpga_emac.c \ 50 plat/intel/soc/common/soc/socfpga_handoff.c \ 51 plat/intel/soc/common/soc/socfpga_mailbox.c \ 52 plat/intel/soc/common/soc/socfpga_reset_manager.c \ 53 plat/intel/soc/common/soc/socfpga_system_manager.c \ 54 plat/intel/soc/common/drivers/qspi/cadence_qspi.c \ 55 plat/intel/soc/common/drivers/wdt/watchdog.c 56 57BL31_SOURCES += \ 58 drivers/arm/cci/cci.c \ 59 lib/cpus/aarch64/aem_generic.S \ 60 lib/cpus/aarch64/cortex_a53.S \ 61 plat/common/plat_psci_common.c \ 62 plat/intel/soc/stratix10/bl31_plat_setup.c \ 63 plat/intel/soc/common/socfpga_psci.c \ 64 plat/intel/soc/common/socfpga_sip_svc.c \ 65 plat/intel/soc/common/socfpga_topology.c \ 66 plat/intel/soc/common/soc/socfpga_mailbox.c \ 67 plat/intel/soc/common/soc/socfpga_reset_manager.c 68 69PROGRAMMABLE_RESET_ADDRESS := 0 70BL2_AT_EL3 := 1 71USE_COHERENT_MEM := 1 72