platform.mk 2.56 KB
Newer Older
1
2
3
4
5
6
7
8
#
# Copyright (c) 2019, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#

PLAT_INCLUDES		:=	\
			-Iplat/intel/soc/stratix10/include/		\
9
10
			-Iplat/intel/soc/common/drivers/		\
			-Iplat/intel/soc/common/include/
11
12
13
14
15
16
17

PLAT_BL_COMMON_SOURCES	:=	\
			lib/xlat_tables/xlat_tables_common.c 		\
			lib/xlat_tables/aarch64/xlat_tables.c 		\
			drivers/arm/gic/common/gic_common.c		\
			drivers/arm/gic/v2/gicv2_main.c			\
			drivers/arm/gic/v2/gicv2_helpers.c		\
18
			plat/common/plat_gicv2.c			\
19
20
21
			drivers/delay_timer/delay_timer.c		\
			drivers/delay_timer/generic_delay_timer.c  	\
			drivers/ti/uart/aarch64/16550_console.S		\
22
23
			plat/intel/soc/common/aarch64/platform_common.c \
			plat/intel/soc/common/aarch64/plat_helpers.S
24
25
26
27
28
29
30
31
32
33
34

BL2_SOURCES     +=	\
		drivers/partition/partition.c				\
		drivers/partition/gpt.c					\
		drivers/arm/pl061/pl061_gpio.c				\
		drivers/mmc/mmc.c					\
		drivers/synopsys/emmc/dw_mmc.c				\
		drivers/io/io_storage.c					\
		drivers/io/io_block.c					\
		drivers/io/io_fip.c					\
		drivers/gpio/gpio.c					\
35
		drivers/intel/soc/stratix10/io/s10_memmap_qspi.c	\
36
		plat/intel/soc/stratix10/bl2_plat_setup.c		\
37
		plat/intel/soc/common/socfpga_storage.c			\
38
                plat/intel/soc/common/bl2_plat_mem_params_desc.c	\
39
		plat/intel/soc/stratix10/soc/s10_reset_manager.c	\
40
		plat/intel/soc/common/soc/socfpga_handoff.c		\
41
42
43
		plat/intel/soc/stratix10/soc/s10_clock_manager.c	\
		plat/intel/soc/stratix10/soc/s10_pinmux.c		\
		plat/intel/soc/stratix10/soc/s10_memory_controller.c	\
44
		plat/intel/soc/common/socfpga_delay_timer.c		\
45
		lib/cpus/aarch64/cortex_a53.S				\
46
		plat/intel/soc/common/socfpga_image_load.c		\
47
		plat/intel/soc/stratix10/soc/s10_system_manager.c	\
48
		common/desc_image_load.c				\
49
		plat/intel/soc/common/soc/socfpga_mailbox.c		\
50
51
		plat/intel/soc/common/drivers/qspi/cadence_qspi.c	\
		plat/intel/soc/common/drivers/wdt/watchdog.c
52

53
54
55
56
57
58
59
60
BL31_SOURCES	+=	drivers/arm/cci/cci.c				\
		lib/cpus/aarch64/cortex_a53.S				\
			lib/cpus/aarch64/aem_generic.S			\
			lib/cpus/aarch64/cortex_a53.S			\
			plat/common/plat_psci_common.c			\
			plat/intel/soc/stratix10/plat_sip_svc.c		\
			plat/intel/soc/stratix10/bl31_plat_setup.c 	\
			plat/intel/soc/stratix10/plat_psci.c		\
61
62
			plat/intel/soc/common/socfpga_topology.c	\
			plat/intel/soc/common/socfpga_delay_timer.c	\
63
64
65
			plat/intel/soc/stratix10/soc/s10_reset_manager.c\
			plat/intel/soc/stratix10/soc/s10_pinmux.c	\
			plat/intel/soc/stratix10/soc/s10_clock_manager.c\
66
			plat/intel/soc/common/soc/socfpga_mailbox.c
67
68
69

PROGRAMMABLE_RESET_ADDRESS	:= 0
BL2_AT_EL3			:= 1
70
USE_COHERENT_MEM		:= 1