platform.mk 1.81 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# Copyright (c) 2019, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#

PLAT_INCLUDES		:=	\
			-Iplat/intel/soc/stratix10/			\
			-Iplat/intel/soc/stratix10/include/		\

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		\
			plat/common/plat_gicv2.c				\
			drivers/delay_timer/delay_timer.c		\
			drivers/delay_timer/generic_delay_timer.c  	\
			drivers/ti/uart/aarch64/16550_console.S		\
			plat/intel/soc/stratix10/aarch64/platform_common.c \
			plat/intel/soc/stratix10/aarch64/plat_helpers.S \

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					\
		drivers/io/io_memmap.c					\
		plat/intel/soc/stratix10/bl2_plat_setup.c		\
		plat/intel/soc/stratix10/plat_storage.c			\
                plat/intel/soc/stratix10/bl2_plat_mem_params_desc.c	\
		plat/intel/soc/stratix10/soc/s10_reset_manager.c	\
		plat/intel/soc/stratix10/soc/s10_handoff.c		\
		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	\
		plat/intel/soc/stratix10/plat_delay_timer.c		\
		lib/cpus/aarch64/cortex_a53.S				\
		plat/intel/soc/stratix10/stratix10_image_load.c		\
		plat/intel/soc/stratix10/soc/s10_system_manager.c	\
                common/desc_image_load.c

#		plat/intel/soc/stratix10/plat_topology.c		\

PROGRAMMABLE_RESET_ADDRESS	:= 0
BL2_AT_EL3			:= 1
MULTI_CONSOLE_API		:= 1