Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. |
| 3 | # Copyright (c) 2019, Intel Corporation. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | # |
| 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 | |
| 13 | PLAT_BL_COMMON_SOURCES := \ |
| 14 | drivers/arm/gic/common/gic_common.c \ |
| 15 | drivers/arm/gic/v2/gicv2_main.c \ |
| 16 | drivers/arm/gic/v2/gicv2_helpers.c \ |
| 17 | drivers/delay_timer/delay_timer.c \ |
| 18 | drivers/delay_timer/generic_delay_timer.c \ |
| 19 | drivers/ti/uart/aarch64/16550_console.S \ |
| 20 | lib/xlat_tables/aarch64/xlat_tables.c \ |
| 21 | lib/xlat_tables/xlat_tables_common.c \ |
| 22 | plat/common/plat_gicv2.c \ |
Hadi Asyrafi | 309ac01 | 2019-08-01 14:48:39 +0800 | [diff] [blame] | 23 | plat/intel/soc/common/aarch64/platform_common.c \ |
| 24 | plat/intel/soc/common/aarch64/plat_helpers.S |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 25 | |
| 26 | BL2_SOURCES += \ |
| 27 | common/desc_image_load.c \ |
| 28 | drivers/partition/partition.c \ |
| 29 | drivers/partition/gpt.c \ |
| 30 | drivers/arm/pl061/pl061_gpio.c \ |
| 31 | drivers/mmc/mmc.c \ |
| 32 | drivers/synopsys/emmc/dw_mmc.c \ |
| 33 | drivers/io/io_storage.c \ |
| 34 | drivers/io/io_block.c \ |
| 35 | drivers/io/io_fip.c \ |
| 36 | drivers/gpio/gpio.c \ |
| 37 | drivers/intel/soc/stratix10/io/s10_memmap_qspi.c \ |
| 38 | lib/cpus/aarch64/cortex_a53.S \ |
| 39 | plat/intel/soc/agilex/bl2_plat_setup.c \ |
| 40 | plat/intel/soc/agilex/socfpga_storage.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 41 | plat/intel/soc/common/bl2_plat_mem_params_desc.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 42 | plat/intel/soc/agilex/soc/agilex_reset_manager.c \ |
| 43 | plat/intel/soc/agilex/soc/agilex_handoff.c \ |
| 44 | plat/intel/soc/agilex/soc/agilex_clock_manager.c \ |
| 45 | plat/intel/soc/agilex/soc/agilex_pinmux.c \ |
| 46 | plat/intel/soc/agilex/soc/agilex_memory_controller.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 47 | plat/intel/soc/common/socfpga_delay_timer.c \ |
| 48 | plat/intel/soc/common/socfpga_image_load.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 49 | plat/intel/soc/agilex/soc/agilex_system_manager.c \ |
| 50 | plat/intel/soc/agilex/soc/agilex_mailbox.c \ |
| 51 | plat/intel/soc/common/drivers/qspi/cadence_qspi.c \ |
| 52 | plat/intel/soc/common/drivers/wdt/watchdog.c \ |
| 53 | plat/intel/soc/common/drivers/ccu/ncore_ccu.c |
| 54 | |
| 55 | BL31_SOURCES += \ |
| 56 | drivers/arm/cci/cci.c \ |
| 57 | lib/cpus/aarch64/cortex_a53.S \ |
| 58 | lib/cpus/aarch64/aem_generic.S \ |
| 59 | plat/common/plat_psci_common.c \ |
| 60 | plat/intel/soc/agilex/socfpga_sip_svc.c \ |
| 61 | plat/intel/soc/agilex/bl31_plat_setup.c \ |
| 62 | plat/intel/soc/agilex/socfpga_psci.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 63 | plat/intel/soc/common/socfpga_topology.c \ |
| 64 | plat/intel/soc/common/socfpga_delay_timer.c \ |
Hadi Asyrafi | 616da77 | 2019-06-27 11:34:03 +0800 | [diff] [blame] | 65 | plat/intel/soc/agilex/soc/agilex_reset_manager.c \ |
| 66 | plat/intel/soc/agilex/soc/agilex_pinmux.c \ |
| 67 | plat/intel/soc/agilex/soc/agilex_clock_manager.c \ |
| 68 | plat/intel/soc/agilex/soc/agilex_handoff.c \ |
| 69 | plat/intel/soc/agilex/soc/agilex_mailbox.c |
| 70 | |
| 71 | PROGRAMMABLE_RESET_ADDRESS := 0 |
| 72 | BL2_AT_EL3 := 1 |
| 73 | MULTI_CONSOLE_API := 1 |
| 74 | USE_COHERENT_MEM := 1 |