blob: 34674b0cdbf419170f549ecb856c996dde2fb42f [file] [log] [blame]
Loh Tien Hock59400a42019-02-04 16:17:24 +08001#
2# Copyright (c) 2019, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7PLAT_INCLUDES := \
Loh Tien Hock59400a42019-02-04 16:17:24 +08008 -Iplat/intel/soc/stratix10/include/ \
Hadi Asyrafi309ac012019-08-01 14:48:39 +08009 -Iplat/intel/soc/common/drivers/ \
10 -Iplat/intel/soc/common/include/
Loh Tien Hock59400a42019-02-04 16:17:24 +080011
12PLAT_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 Asyrafi309ac012019-08-01 14:48:39 +080018 plat/common/plat_gicv2.c \
Loh Tien Hock59400a42019-02-04 16:17:24 +080019 drivers/delay_timer/delay_timer.c \
20 drivers/delay_timer/generic_delay_timer.c \
21 drivers/ti/uart/aarch64/16550_console.S \
Hadi Asyrafi309ac012019-08-01 14:48:39 +080022 plat/intel/soc/common/aarch64/platform_common.c \
23 plat/intel/soc/common/aarch64/plat_helpers.S
Loh Tien Hock59400a42019-02-04 16:17:24 +080024
25BL2_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 Halim2444bfa2019-03-08 19:02:33 +080035 drivers/intel/soc/stratix10/io/s10_memmap_qspi.c \
Loh Tien Hock59400a42019-02-04 16:17:24 +080036 plat/intel/soc/stratix10/bl2_plat_setup.c \
37 plat/intel/soc/stratix10/plat_storage.c \
Hadi Asyrafi6a240c72019-08-01 15:21:20 +080038 plat/intel/soc/common/bl2_plat_mem_params_desc.c \
Loh Tien Hock59400a42019-02-04 16:17:24 +080039 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 Asyrafi6a240c72019-08-01 15:21:20 +080044 plat/intel/soc/common/socfpga_delay_timer.c \
Loh Tien Hock59400a42019-02-04 16:17:24 +080045 lib/cpus/aarch64/cortex_a53.S \
Hadi Asyrafi6a240c72019-08-01 15:21:20 +080046 plat/intel/soc/common/socfpga_image_load.c \
Loh Tien Hock59400a42019-02-04 16:17:24 +080047 plat/intel/soc/stratix10/soc/s10_system_manager.c \
Muhammad Hadi Asyrafi Abdul Halim2444bfa2019-03-08 19:02:33 +080048 common/desc_image_load.c \
49 plat/intel/soc/stratix10/soc/s10_mailbox.c \
Hadi Asyrafic461add2019-06-12 11:24:12 +080050 plat/intel/soc/common/drivers/qspi/cadence_qspi.c \
51 plat/intel/soc/common/drivers/wdt/watchdog.c
Loh Tien Hock59400a42019-02-04 16:17:24 +080052
Tien Hock, Lohab34f742019-02-26 09:25:14 +080053BL31_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 Asyrafi6a240c72019-08-01 15:21:20 +080061 plat/intel/soc/common/socfpga_topology.c \
62 plat/intel/soc/common/socfpga_delay_timer.c \
Tien Hock, Lohab34f742019-02-26 09:25:14 +080063 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 Asyrafi309ac012019-08-01 14:48:39 +080067 plat/intel/soc/stratix10/soc/s10_mailbox.c
Loh Tien Hock59400a42019-02-04 16:17:24 +080068
69PROGRAMMABLE_RESET_ADDRESS := 0
70BL2_AT_EL3 := 1
Tien Hock, Lohab34f742019-02-26 09:25:14 +080071USE_COHERENT_MEM := 1