xref: /rk3399_ARM-atf/plat/allwinner/sun50i_h616/platform.mk (revision 55b4c5ceb2c24798616748ba3f879700bf765c96)
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
76fa8e72eSAndre PrzywaraSUNXI_BL31_IN_DRAM	:=	1
86fa8e72eSAndre 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
21a0597ba2SAndre PrzywaraBL31_SOURCES		+=	common/fdt_wrappers.c			\
22a0597ba2SAndre Przywara				drivers/allwinner/axp/axp805.c		\
230be10ee3SAndre Przywara				drivers/allwinner/sunxi_rsb.c		\
24*ee5b26fdSAndre Przywara				drivers/mentor/i2c/mi2cv.c		\
25*ee5b26fdSAndre Przywara				${AW_PLAT}/${PLAT}/sunxi_h616_dtb.c
26