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

8
9
PLAT_INCLUDES		:=	\
			-Iplat/intel/soc/agilex/include/		\
10
11
			-Iplat/intel/soc/common/drivers/		\
			-Iplat/intel/soc/common/include/
12
13
14
15
16
17
18
19
20
21
22

PLAT_BL_COMMON_SOURCES	:=	\
			drivers/arm/gic/common/gic_common.c		\
			drivers/arm/gic/v2/gicv2_main.c			\
			drivers/arm/gic/v2/gicv2_helpers.c		\
			drivers/delay_timer/delay_timer.c		\
			drivers/delay_timer/generic_delay_timer.c  	\
			drivers/ti/uart/aarch64/16550_console.S		\
			lib/xlat_tables/aarch64/xlat_tables.c 		\
			lib/xlat_tables/xlat_tables_common.c 		\
			plat/common/plat_gicv2.c			\
23
24
			plat/intel/soc/common/aarch64/platform_common.c \
			plat/intel/soc/common/aarch64/plat_helpers.S
25
26
27
28

BL2_SOURCES     +=	\
		common/desc_image_load.c				\
		drivers/mmc/mmc.c					\
29
		drivers/intel/soc/stratix10/io/s10_memmap_qspi.c	\
30
31
32
		drivers/io/io_storage.c					\
		drivers/io/io_block.c					\
		drivers/io/io_fip.c					\
33
34
35
		drivers/partition/partition.c				\
		drivers/partition/gpt.c					\
		drivers/synopsys/emmc/dw_mmc.c				\
36
37
38
39
		lib/cpus/aarch64/cortex_a53.S				\
		plat/intel/soc/agilex/bl2_plat_setup.c			\
		plat/intel/soc/agilex/soc/agilex_clock_manager.c	\
		plat/intel/soc/agilex/soc/agilex_memory_controller.c	\
40
41
		plat/intel/soc/agilex/soc/agilex_pinmux.c		\
                plat/intel/soc/common/bl2_plat_mem_params_desc.c	\
42
43
		plat/intel/soc/common/socfpga_delay_timer.c		\
		plat/intel/soc/common/socfpga_image_load.c		\
44
45
		plat/intel/soc/common/socfpga_storage.c			\
		plat/intel/soc/common/soc/socfpga_handoff.c		\
46
		plat/intel/soc/common/soc/socfpga_mailbox.c		\
47
		plat/intel/soc/common/soc/socfpga_reset_manager.c	\
48
		plat/intel/soc/common/soc/socfpga_system_manager.c	\
49
50
51
52
53
54
55
		plat/intel/soc/common/drivers/qspi/cadence_qspi.c	\
		plat/intel/soc/common/drivers/wdt/watchdog.c		\
		plat/intel/soc/common/drivers/ccu/ncore_ccu.c

BL31_SOURCES	+=	\
		drivers/arm/cci/cci.c					\
		lib/cpus/aarch64/aem_generic.S				\
56
		lib/cpus/aarch64/cortex_a53.S				\
57
58
		plat/common/plat_psci_common.c				\
		plat/intel/soc/agilex/bl31_plat_setup.c 		\
59
		plat/intel/soc/common/socfpga_psci.c			\
60
		plat/intel/soc/common/socfpga_sip_svc.c			\
61
		plat/intel/soc/common/socfpga_topology.c		\
62
		plat/intel/soc/common/soc/socfpga_mailbox.c		\
63
		plat/intel/soc/common/soc/socfpga_reset_manager.c
64
65
66

PROGRAMMABLE_RESET_ADDRESS	:= 0
BL2_AT_EL3			:= 1
67
BL2_INV_DCACHE			:= 0
68
69
MULTI_CONSOLE_API		:= 1
USE_COHERENT_MEM		:= 1