platform.mk 706 B

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