Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 1 | # |
Tien Hock, Loh | 8d9e891 | 2019-10-02 13:49:25 +0800 | [diff] [blame] | 2 | # Copyright (c) 2019-2020, ARM Limited and Contributors. All rights reserved. |
| 3 | # Copyright (c) 2019-2020, Intel Corporation. All rights reserved. |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 7 | |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 8 | PLAT_INCLUDES := \ |
| 9 | -Iplat/intel/soc/agilex/include/ \ |
Hadi Asyrafi | 309ac01 | 2019-08-01 14:48:39 +0800 | [diff] [blame] | 10 | -Iplat/intel/soc/common/drivers/ \ |
| 11 | -Iplat/intel/soc/common/include/ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 12 | |
Abdul Halim, Muhammad Hadi Asyrafi | 0ae8d9a | 2020-08-19 14:50:01 +0800 | [diff] [blame] | 13 | # Include GICv2 driver files |
| 14 | include drivers/arm/gic/v2/gicv2.mk |
| 15 | AGX_GICv2_SOURCES := \ |
| 16 | ${GICV2_SOURCES} \ |
| 17 | plat/common/plat_gicv2.c |
| 18 | |
| 19 | |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 20 | PLAT_BL_COMMON_SOURCES := \ |
Abdul Halim, Muhammad Hadi Asyrafi | 0ae8d9a | 2020-08-19 14:50:01 +0800 | [diff] [blame] | 21 | ${AGX_GICv2_SOURCES} \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 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 \ |
Hadi Asyrafi | 309ac01 | 2019-08-01 14:48:39 +0800 | [diff] [blame] | 27 | plat/intel/soc/common/aarch64/platform_common.c \ |
Chee Hong Ang | 6474096 | 2020-05-11 00:55:01 +0800 | [diff] [blame] | 28 | plat/intel/soc/common/aarch64/plat_helpers.S \ |
| 29 | plat/intel/soc/common/socfpga_delay_timer.c |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 30 | |
| 31 | BL2_SOURCES += \ |
| 32 | common/desc_image_load.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 33 | drivers/mmc/mmc.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 34 | drivers/intel/soc/stratix10/io/s10_memmap_qspi.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 35 | drivers/io/io_storage.c \ |
| 36 | drivers/io/io_block.c \ |
| 37 | drivers/io/io_fip.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 38 | drivers/partition/partition.c \ |
| 39 | drivers/partition/gpt.c \ |
| 40 | drivers/synopsys/emmc/dw_mmc.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 41 | lib/cpus/aarch64/cortex_a53.S \ |
| 42 | plat/intel/soc/agilex/bl2_plat_setup.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 43 | plat/intel/soc/agilex/soc/agilex_clock_manager.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 44 | plat/intel/soc/agilex/soc/agilex_memory_controller.c \ |
Tien Hock Loh | fcbc33d | 2020-05-11 01:11:39 -0700 | [diff] [blame] | 45 | plat/intel/soc/agilex/soc/agilex_mmc.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 46 | plat/intel/soc/agilex/soc/agilex_pinmux.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 47 | plat/intel/soc/common/bl2_plat_mem_params_desc.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 48 | plat/intel/soc/common/socfpga_image_load.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 49 | plat/intel/soc/common/socfpga_storage.c \ |
Tien Hock, Loh | 8d9e891 | 2019-10-02 13:49:25 +0800 | [diff] [blame] | 50 | plat/intel/soc/common/soc/socfpga_emac.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 51 | plat/intel/soc/common/soc/socfpga_handoff.c \ |
Hadi Asyrafi | 6f8a2b2 | 2019-10-23 18:34:14 +0800 | [diff] [blame] | 52 | plat/intel/soc/common/soc/socfpga_mailbox.c \ |
Hadi Asyrafi | 67cb0ea | 2019-12-23 13:25:33 +0800 | [diff] [blame] | 53 | plat/intel/soc/common/soc/socfpga_reset_manager.c \ |
Hadi Asyrafi | 8ebd237 | 2019-12-23 17:58:04 +0800 | [diff] [blame] | 54 | plat/intel/soc/common/soc/socfpga_system_manager.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 55 | plat/intel/soc/common/drivers/qspi/cadence_qspi.c \ |
| 56 | plat/intel/soc/common/drivers/wdt/watchdog.c \ |
| 57 | plat/intel/soc/common/drivers/ccu/ncore_ccu.c |
| 58 | |
| 59 | BL31_SOURCES += \ |
| 60 | drivers/arm/cci/cci.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 61 | lib/cpus/aarch64/aem_generic.S \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 62 | lib/cpus/aarch64/cortex_a53.S \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 63 | plat/common/plat_psci_common.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 64 | plat/intel/soc/agilex/bl31_plat_setup.c \ |
Hadi Asyrafi | 4d9f395 | 2019-10-23 17:35:32 +0800 | [diff] [blame] | 65 | plat/intel/soc/common/socfpga_psci.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 66 | plat/intel/soc/common/socfpga_sip_svc.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 67 | plat/intel/soc/common/socfpga_topology.c \ |
Sieu Mun Tang | 9f22cbf | 2022-03-02 11:04:09 +0800 | [diff] [blame] | 68 | plat/intel/soc/common/sip/socfpga_sip_fcs.c \ |
Hadi Asyrafi | 5ae876f | 2019-10-23 17:58:06 +0800 | [diff] [blame] | 69 | plat/intel/soc/common/soc/socfpga_mailbox.c \ |
Hadi Asyrafi | 36a9f30 | 2019-12-24 10:42:52 +0800 | [diff] [blame] | 70 | plat/intel/soc/common/soc/socfpga_reset_manager.c |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 71 | |
| 72 | PROGRAMMABLE_RESET_ADDRESS := 0 |
| 73 | BL2_AT_EL3 := 1 |
Hadi Asyrafi | 461f8f4 | 2019-08-20 15:33:27 +0800 | [diff] [blame] | 74 | BL2_INV_DCACHE := 0 |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 75 | MULTI_CONSOLE_API := 1 |
| 76 | USE_COHERENT_MEM := 1 |