xref: /rk3399_ARM-atf/plat/allwinner/sun50i_h616/platform.mk (revision 07c2d18f4ef6cd1ce61326e0e85d93abe8f2f4ed)
1#
2# Copyright (c) 2017-2020, ARM Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7SUNXI_BL31_IN_DRAM	:=	1
8
9# Without a management processor there is no SCPI support.
10SUNXI_PSCI_USE_SCPI	:=	0
11SUNXI_PSCI_USE_NATIVE	:=	1
12
13# The differences between the platforms are covered by the include files.
14include plat/allwinner/common/allwinner-common.mk
15
16# the above could be overwritten on the command line
17ifeq (${SUNXI_PSCI_USE_SCPI}, 1)
18    $(error "H616 does not support SCPI PSCI ops")
19endif
20
21BL31_SOURCES		+=	common/fdt_wrappers.c			\
22				drivers/allwinner/axp/axp805.c		\
23				drivers/allwinner/sunxi_rsb.c		\
24				drivers/mentor/i2c/mi2cv.c		\
25				${AW_PLAT}/${PLAT}/sunxi_h616_dtb.c
26