platform.mk 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Copyright 2022-2023 NXP
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. PLAT_INCLUDES := -Iplat/imx/common/include \
  7. -Iplat/imx/imx93/include \
  8. # Translation tables library
  9. include lib/xlat_tables_v2/xlat_tables.mk
  10. GICV3_SUPPORT_GIC600 := 1
  11. # Include GICv3 driver files
  12. include drivers/arm/gic/v3/gicv3.mk
  13. IMX_GIC_SOURCES := ${GICV3_SOURCES} \
  14. plat/common/plat_gicv3.c \
  15. plat/common/plat_psci_common.c \
  16. plat/imx/common/plat_imx8_gic.c
  17. BL31_SOURCES += common/desc_image_load.c \
  18. plat/common/aarch64/crash_console_helpers.S \
  19. plat/imx/imx93/aarch64/plat_helpers.S \
  20. plat/imx/imx93/plat_topology.c \
  21. plat/imx/common/imx_common.c \
  22. plat/imx/common/lpuart_console.S \
  23. plat/imx/imx93/trdc.c \
  24. plat/imx/imx93/pwr_ctrl.c \
  25. plat/imx/imx93/imx93_bl31_setup.c \
  26. plat/imx/imx93/imx93_psci.c \
  27. lib/cpus/aarch64/cortex_a55.S \
  28. drivers/delay_timer/delay_timer.c \
  29. drivers/delay_timer/generic_delay_timer.c \
  30. drivers/nxp/trdc/imx_trdc.c \
  31. ${IMX_GIC_SOURCES} \
  32. ${XLAT_TABLES_LIB_SRCS}
  33. RESET_TO_BL31 := 1
  34. HW_ASSISTED_COHERENCY := 1
  35. USE_COHERENT_MEM := 0
  36. PROGRAMMABLE_RESET_ADDRESS := 1
  37. COLD_BOOT_SINGLE_CPU := 1
  38. BL32_BASE ?= 0x96000000
  39. BL32_SIZE ?= 0x02000000
  40. $(eval $(call add_define,BL32_BASE))
  41. $(eval $(call add_define,BL32_SIZE))