blob: d04d630b41d9ff34bd32125aa0019152d30cdf4b [file] [log] [blame]
Hadi Asyrafi616da772019-06-27 11:34:03 +08001#
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#
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +08007
Hadi Asyrafi616da772019-06-27 11:34:03 +08008PLAT_INCLUDES := \
9 -Iplat/intel/soc/agilex/include/ \
Hadi Asyrafi309ac012019-08-01 14:48:39 +080010 -Iplat/intel/soc/common/drivers/ \
11 -Iplat/intel/soc/common/include/
Hadi Asyrafi616da772019-06-27 11:34:03 +080012
13PLAT_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 Asyrafi309ac012019-08-01 14:48:39 +080023 plat/intel/soc/common/aarch64/platform_common.c \
24 plat/intel/soc/common/aarch64/plat_helpers.S
Hadi Asyrafi616da772019-06-27 11:34:03 +080025
26BL2_SOURCES += \
27 common/desc_image_load.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080028 drivers/mmc/mmc.c \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080029 drivers/intel/soc/stratix10/io/s10_memmap_qspi.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080030 drivers/io/io_storage.c \
31 drivers/io/io_block.c \
32 drivers/io/io_fip.c \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080033 drivers/partition/partition.c \
34 drivers/partition/gpt.c \
35 drivers/synopsys/emmc/dw_mmc.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080036 lib/cpus/aarch64/cortex_a53.S \
37 plat/intel/soc/agilex/bl2_plat_setup.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080038 plat/intel/soc/agilex/soc/agilex_clock_manager.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080039 plat/intel/soc/agilex/soc/agilex_memory_controller.c \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080040 plat/intel/soc/agilex/soc/agilex_pinmux.c \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080041 plat/intel/soc/common/bl2_plat_mem_params_desc.c \
Hadi Asyrafi6a240c72019-08-01 15:21:20 +080042 plat/intel/soc/common/socfpga_delay_timer.c \
43 plat/intel/soc/common/socfpga_image_load.c \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080044 plat/intel/soc/common/socfpga_storage.c \
45 plat/intel/soc/common/soc/socfpga_handoff.c \
Hadi Asyrafi6f8a2b22019-10-23 18:34:14 +080046 plat/intel/soc/common/soc/socfpga_mailbox.c \
Hadi Asyrafi67cb0ea2019-12-23 13:25:33 +080047 plat/intel/soc/common/soc/socfpga_reset_manager.c \
Hadi Asyrafi8ebd2372019-12-23 17:58:04 +080048 plat/intel/soc/common/soc/socfpga_system_manager.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080049 plat/intel/soc/common/drivers/qspi/cadence_qspi.c \
50 plat/intel/soc/common/drivers/wdt/watchdog.c \
51 plat/intel/soc/common/drivers/ccu/ncore_ccu.c
52
53BL31_SOURCES += \
54 drivers/arm/cci/cci.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080055 lib/cpus/aarch64/aem_generic.S \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080056 lib/cpus/aarch64/cortex_a53.S \
Hadi Asyrafi616da772019-06-27 11:34:03 +080057 plat/common/plat_psci_common.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080058 plat/intel/soc/agilex/bl31_plat_setup.c \
Hadi Asyrafi4d9f3952019-10-23 17:35:32 +080059 plat/intel/soc/common/socfpga_psci.c \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080060 plat/intel/soc/common/socfpga_sip_svc.c \
Hadi Asyrafi6a240c72019-08-01 15:21:20 +080061 plat/intel/soc/common/socfpga_topology.c \
Hadi Asyrafi5ae876f2019-10-23 17:58:06 +080062 plat/intel/soc/common/soc/socfpga_mailbox.c \
Hadi Asyrafi616da772019-06-27 11:34:03 +080063
64PROGRAMMABLE_RESET_ADDRESS := 0
65BL2_AT_EL3 := 1
Hadi Asyrafi461f8f42019-08-20 15:33:27 +080066BL2_INV_DCACHE := 0
Hadi Asyrafi616da772019-06-27 11:34:03 +080067MULTI_CONSOLE_API := 1
68USE_COHERENT_MEM := 1