platform.mk 740 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Copyright 2018-2022 NXP
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. # board-specific build parameters
  7. BOOT_MODE ?= qspi
  8. BOARD := ls1046afrwy
  9. POVDD_ENABLE := no
  10. # DDR Compilation Configs
  11. CONFIG_STATIC_DDR := 0
  12. CONFIG_DDR_NODIMM := 1
  13. DDRC_NUM_DIMM := 0
  14. NUM_OF_DDRC := 1
  15. DDRC_NUM_CS := 1
  16. DDR_ECC_EN := yes
  17. # On-Board Flash Details
  18. QSPI_FLASH_SZ := 0x20000000
  19. NOR_FLASH_SZ := 0x20000000
  20. # Platform specific features.
  21. WARM_BOOT := no
  22. # Adding Platform files build files
  23. BL2_SOURCES += ${BOARD_PATH}/ddr_init.c\
  24. ${BOARD_PATH}/platform.c
  25. SUPPORTED_BOOT_MODE := qspi \
  26. sd
  27. # Adding platform board build info
  28. include plat/nxp/common/plat_make_helper/plat_common_def.mk
  29. # Adding SoC build info
  30. include plat/nxp/soc-ls1046a/soc.mk