Andre Przywara | 2d42e5f | 2020-11-28 01:39:17 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2017-2020, ARM Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | # Without a management processor there is no SCPI support. |
| 8 | SUNXI_PSCI_USE_SCPI := 0 |
| 9 | SUNXI_PSCI_USE_NATIVE := 1 |
| 10 | |
| 11 | # The differences between the platforms are covered by the include files. |
| 12 | include plat/allwinner/common/allwinner-common.mk |
| 13 | |
| 14 | # the above could be overwritten on the command line |
| 15 | ifeq (${SUNXI_PSCI_USE_SCPI}, 1) |
| 16 | $(error "H616 does not support SCPI PSCI ops") |
| 17 | endif |
| 18 | |
| 19 | BL31_SOURCES += drivers/allwinner/axp/axp805.c \ |
Andre Przywara | fb83833 | 2020-12-14 12:06:24 +0000 | [diff] [blame] | 20 | drivers/allwinner/sunxi_rsb.c \ |
| 21 | common/fdt_fixup.c \ |
| 22 | ${AW_PLAT}/${PLAT}/prepare_dtb.c |
Andre Przywara | 2d42e5f | 2020-11-28 01:39:17 +0000 | [diff] [blame] | 23 | |
| 24 | $(eval $(call add_define,SUNXI_BL31_IN_DRAM)) |