xref: /rk3399_ARM-atf/plat/allwinner/sun50i_h616/platform.mk (revision 0be10ee373eab34064e728756de0005c5b71433b)
126123ca3SAndre Przywara#
226123ca3SAndre Przywara# Copyright (c) 2017-2020, ARM Limited. All rights reserved.
326123ca3SAndre Przywara#
426123ca3SAndre Przywara# SPDX-License-Identifier: BSD-3-Clause
526123ca3SAndre Przywara#
626123ca3SAndre Przywara
726123ca3SAndre Przywara# Without a management processor there is no SCPI support.
826123ca3SAndre PrzywaraSUNXI_PSCI_USE_SCPI	:=	0
926123ca3SAndre PrzywaraSUNXI_PSCI_USE_NATIVE	:=	1
1026123ca3SAndre Przywara
1126123ca3SAndre Przywara# The differences between the platforms are covered by the include files.
1226123ca3SAndre Przywarainclude plat/allwinner/common/allwinner-common.mk
1326123ca3SAndre Przywara
1426123ca3SAndre Przywara# the above could be overwritten on the command line
1526123ca3SAndre Przywaraifeq (${SUNXI_PSCI_USE_SCPI}, 1)
1626123ca3SAndre Przywara    $(error "H616 does not support SCPI PSCI ops")
1726123ca3SAndre Przywaraendif
1826123ca3SAndre Przywara
1926123ca3SAndre PrzywaraBL31_SOURCES		+=	drivers/allwinner/axp/axp805.c		\
20*0be10ee3SAndre Przywara				drivers/allwinner/sunxi_rsb.c		\
21*0be10ee3SAndre Przywara				common/fdt_fixup.c			\
22*0be10ee3SAndre Przywara				${AW_PLAT}/${PLAT}/prepare_dtb.c
2326123ca3SAndre Przywara
2426123ca3SAndre Przywara$(eval $(call add_define,SUNXI_BL31_IN_DRAM))
25