Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | PLAT_INCLUDES := \ |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 8 | -Iplat/intel/soc/stratix10/include/ \ |
Hadi Asyrafi | 309ac01 | 2019-08-01 14:48:39 +0800 | [diff] [blame] | 9 | -Iplat/intel/soc/common/drivers/ \ |
| 10 | -Iplat/intel/soc/common/include/ |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 11 | |
| 12 | PLAT_BL_COMMON_SOURCES := \ |
| 13 | lib/xlat_tables/xlat_tables_common.c \ |
| 14 | lib/xlat_tables/aarch64/xlat_tables.c \ |
| 15 | drivers/arm/gic/common/gic_common.c \ |
| 16 | drivers/arm/gic/v2/gicv2_main.c \ |
| 17 | drivers/arm/gic/v2/gicv2_helpers.c \ |
Hadi Asyrafi | 309ac01 | 2019-08-01 14:48:39 +0800 | [diff] [blame] | 18 | plat/common/plat_gicv2.c \ |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 19 | drivers/delay_timer/delay_timer.c \ |
| 20 | drivers/delay_timer/generic_delay_timer.c \ |
| 21 | drivers/ti/uart/aarch64/16550_console.S \ |
Hadi Asyrafi | 309ac01 | 2019-08-01 14:48:39 +0800 | [diff] [blame] | 22 | plat/intel/soc/common/aarch64/platform_common.c \ |
| 23 | plat/intel/soc/common/aarch64/plat_helpers.S |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 24 | |
| 25 | BL2_SOURCES += \ |
| 26 | drivers/partition/partition.c \ |
| 27 | drivers/partition/gpt.c \ |
| 28 | drivers/arm/pl061/pl061_gpio.c \ |
| 29 | drivers/mmc/mmc.c \ |
| 30 | drivers/synopsys/emmc/dw_mmc.c \ |
| 31 | drivers/io/io_storage.c \ |
| 32 | drivers/io/io_block.c \ |
| 33 | drivers/io/io_fip.c \ |
| 34 | drivers/gpio/gpio.c \ |
Muhammad Hadi Asyrafi Abdul Halim | 2444bfa | 2019-03-08 19:02:33 +0800 | [diff] [blame] | 35 | drivers/intel/soc/stratix10/io/s10_memmap_qspi.c \ |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 36 | plat/intel/soc/stratix10/bl2_plat_setup.c \ |
| 37 | plat/intel/soc/stratix10/plat_storage.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 38 | plat/intel/soc/common/bl2_plat_mem_params_desc.c \ |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 39 | plat/intel/soc/stratix10/soc/s10_reset_manager.c \ |
| 40 | plat/intel/soc/stratix10/soc/s10_handoff.c \ |
| 41 | plat/intel/soc/stratix10/soc/s10_clock_manager.c \ |
| 42 | plat/intel/soc/stratix10/soc/s10_pinmux.c \ |
| 43 | plat/intel/soc/stratix10/soc/s10_memory_controller.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 44 | plat/intel/soc/common/socfpga_delay_timer.c \ |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 45 | lib/cpus/aarch64/cortex_a53.S \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 46 | plat/intel/soc/common/socfpga_image_load.c \ |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 47 | plat/intel/soc/stratix10/soc/s10_system_manager.c \ |
Muhammad Hadi Asyrafi Abdul Halim | 2444bfa | 2019-03-08 19:02:33 +0800 | [diff] [blame] | 48 | common/desc_image_load.c \ |
| 49 | plat/intel/soc/stratix10/soc/s10_mailbox.c \ |
Hadi Asyrafi | c461add | 2019-06-12 11:24:12 +0800 | [diff] [blame] | 50 | plat/intel/soc/common/drivers/qspi/cadence_qspi.c \ |
| 51 | plat/intel/soc/common/drivers/wdt/watchdog.c |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 52 | |
Tien Hock, Loh | ab34f74 | 2019-02-26 09:25:14 +0800 | [diff] [blame] | 53 | BL31_SOURCES += drivers/arm/cci/cci.c \ |
| 54 | lib/cpus/aarch64/cortex_a53.S \ |
| 55 | lib/cpus/aarch64/aem_generic.S \ |
| 56 | lib/cpus/aarch64/cortex_a53.S \ |
| 57 | plat/common/plat_psci_common.c \ |
| 58 | plat/intel/soc/stratix10/plat_sip_svc.c \ |
| 59 | plat/intel/soc/stratix10/bl31_plat_setup.c \ |
| 60 | plat/intel/soc/stratix10/plat_psci.c \ |
Hadi Asyrafi | 6a240c7 | 2019-08-01 15:21:20 +0800 | [diff] [blame] | 61 | plat/intel/soc/common/socfpga_topology.c \ |
| 62 | plat/intel/soc/common/socfpga_delay_timer.c \ |
Tien Hock, Loh | ab34f74 | 2019-02-26 09:25:14 +0800 | [diff] [blame] | 63 | plat/intel/soc/stratix10/soc/s10_reset_manager.c\ |
| 64 | plat/intel/soc/stratix10/soc/s10_pinmux.c \ |
| 65 | plat/intel/soc/stratix10/soc/s10_clock_manager.c\ |
| 66 | plat/intel/soc/stratix10/soc/s10_handoff.c \ |
Hadi Asyrafi | 309ac01 | 2019-08-01 14:48:39 +0800 | [diff] [blame] | 67 | plat/intel/soc/stratix10/soc/s10_mailbox.c |
Loh Tien Hock | 59400a4 | 2019-02-04 16:17:24 +0800 | [diff] [blame] | 68 | |
| 69 | PROGRAMMABLE_RESET_ADDRESS := 0 |
| 70 | BL2_AT_EL3 := 1 |
Tien Hock, Loh | ab34f74 | 2019-02-26 09:25:14 +0800 | [diff] [blame] | 71 | USE_COHERENT_MEM := 1 |