xref: /arm-trusted-firmware/plat/allwinner/sun50i_h616/platform.mk (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1*91f16700Schasinglulu#
2*91f16700Schasinglulu# Copyright (c) 2017-2020, ARM Limited. All rights reserved.
3*91f16700Schasinglulu#
4*91f16700Schasinglulu# SPDX-License-Identifier: BSD-3-Clause
5*91f16700Schasinglulu#
6*91f16700Schasinglulu
7*91f16700SchasingluluSUNXI_BL31_IN_DRAM	:=	1
8*91f16700Schasinglulu
9*91f16700Schasinglulu# Without a management processor there is no SCPI support.
10*91f16700SchasingluluSUNXI_PSCI_USE_SCPI	:=	0
11*91f16700SchasingluluSUNXI_PSCI_USE_NATIVE	:=	1
12*91f16700Schasinglulu
13*91f16700Schasinglulu# The differences between the platforms are covered by the include files.
14*91f16700Schasingluluinclude plat/allwinner/common/allwinner-common.mk
15*91f16700Schasinglulu
16*91f16700Schasinglulu# the above could be overwritten on the command line
17*91f16700Schasingluluifeq (${SUNXI_PSCI_USE_SCPI}, 1)
18*91f16700Schasinglulu    $(error "H616 does not support SCPI PSCI ops")
19*91f16700Schasingluluendif
20*91f16700Schasinglulu
21*91f16700SchasingluluBL31_SOURCES		+=	drivers/allwinner/axp/axp805.c		\
22*91f16700Schasinglulu				drivers/allwinner/sunxi_rsb.c		\
23