platform.mk 1.06 KB
Newer Older
1
#
2
# Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
3
#
dp-arm's avatar
dp-arm committed
4
# SPDX-License-Identifier: BSD-3-Clause
5
6
#

7
8
SOC_DIR			:=	plat/nvidia/tegra/soc/${TARGET_SOC}

9
10
11
# dump the state on crash console
CRASH_REPORTING		:=	1
$(eval $(call add_define,CRASH_REPORTING))
12

13
14
# enable assert() for release/debug builds
ENABLE_ASSERTIONS	:=	1
15
16
PLAT_LOG_LEVEL_ASSERT	:=	40
$(eval $(call add_define,PLAT_LOG_LEVEL_ASSERT))
17

18
19
20
21
22
23
24
25
26
27
28
29
30
# enable dynamic memory mapping
PLAT_XLAT_TABLES_DYNAMIC :=	1
$(eval $(call add_define,PLAT_XLAT_TABLES_DYNAMIC))

# Enable PSCI v1.0 extended state ID format
PSCI_EXTENDED_STATE_ID	:=	1

# code and read-only data should be put on separate memory pages
SEPARATE_CODE_AND_RODATA :=	1

# do not use coherent memory
USE_COHERENT_MEM	:=	0

31
32
33
# do not enable SVE
ENABLE_SVE_FOR_NS	:=	0

34
35
include plat/nvidia/tegra/common/tegra_common.mk
include ${SOC_DIR}/platform_${TARGET_SOC}.mk
36
37
38

# modify BUILD_PLAT to point to SoC specific build directory
BUILD_PLAT	:=	${BUILD_BASE}/${PLAT}/${TARGET_SOC}/${BUILD_TYPE}
39
40

# enable signed comparison checks
Douglas Raillard's avatar
Douglas Raillard committed
41
TF_CFLAGS	+= -Wsign-compare