xref: /arm-trusted-firmware/plat/hobot/sigi/platform.mk (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1#
2# Copyright (c) 2016-2023, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7#override PROGRAMMABLE_RESET_ADDRESS := 1
8override RESET_TO_BL31	:= 1
9override CTX_INCLUDE_AARCH32_REGS := 0
10override WORKAROUND_CVE_2022_23960 := 1
11override ERRATA_A78_AE_1941500 := 1
12override ERRATA_A78_AE_1951502 := 1
13override ERRATA_A78_AE_2376748 := 1
14override ERRATA_A78_AE_2395408 := 1
15override USE_COHERENT_MEM		:= 0
16override SEPARATE_CODE_AND_RODATA	:= 1
17override HW_ASSISTED_COHERENCY := 1
18
19HOBOT_PLAT		:=	plat/hobot
20HOBOT_PLAT_SOC	:=	${HOBOT_PLAT}/${PLAT}
21
22PLAT_INCLUDES		:=	-I${HOBOT_PLAT_SOC}/include
23
24# Include GICv3 driver files
25include drivers/arm/gic/v3/gicv3.mk
26include lib/xlat_tables_v2/xlat_tables.mk
27
28SIGI_GIC_SOURCES	:=	${GICV3_SOURCES}
29
30PLAT_BL_COMMON_SOURCES	:=	common/desc_image_load.c			\
31				lib/bl_aux_params/bl_aux_params.c		\
32				plat/common/aarch64/crash_console_helpers.S \
33				plat/common/plat_gicv3.c		\
34				plat/common/plat_psci_common.c	\
35				plat/arm/common/arm_common.c	\
36				${HOBOT_PLAT_SOC}/plat_helper.S	\
37				${XLAT_TABLES_LIB_SRCS}
38
39BL31_SOURCES	+=	${SIGI_GIC_SOURCES}					\
40			drivers/ti/uart/aarch64/16550_console.S		\
41			drivers/delay_timer/delay_timer.c			\
42			drivers/delay_timer/generic_delay_timer.c	\
43			lib/cpus/aarch64/cortex_a78_ae.S			\
44			${HOBOT_PLAT_SOC}/bl31_plat_setup.c			\
45			${HOBOT_PLAT_SOC}/sigi_topology.c			\
46			${HOBOT_PLAT_SOC}/sigi_pm.c					\
47			${HOBOT_PLAT_SOC}/sigi_console.c			\
48			${HOBOT_PLAT_SOC}/sigi_gicv3.c
49
50include lib/libfdt/libfdt.mk