xref: /rk3399_ARM-atf/plat/allwinner/sun50i_h616/platform.mk (revision 6fa8e72e7bde73012d1e9b1f227d323864e739cf)
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
7*6fa8e72eSAndre PrzywaraSUNXI_BL31_IN_DRAM	:=	1
8*6fa8e72eSAndre Przywara
926123ca3SAndre Przywara# Without a management processor there is no SCPI support.
1026123ca3SAndre PrzywaraSUNXI_PSCI_USE_SCPI	:=	0
1126123ca3SAndre PrzywaraSUNXI_PSCI_USE_NATIVE	:=	1
1226123ca3SAndre Przywara
1326123ca3SAndre Przywara# The differences between the platforms are covered by the include files.
1426123ca3SAndre Przywarainclude plat/allwinner/common/allwinner-common.mk
1526123ca3SAndre Przywara
1626123ca3SAndre Przywara# the above could be overwritten on the command line
1726123ca3SAndre Przywaraifeq (${SUNXI_PSCI_USE_SCPI}, 1)
1826123ca3SAndre Przywara    $(error "H616 does not support SCPI PSCI ops")
1926123ca3SAndre Przywaraendif
2026123ca3SAndre Przywara
2126123ca3SAndre PrzywaraBL31_SOURCES		+=	drivers/allwinner/axp/axp805.c		\
220be10ee3SAndre Przywara				drivers/allwinner/sunxi_rsb.c		\
23